# modprobe raw
# MAKEDEV -v raw create rawctl c 162 0 root:disk 0660 create raw/raw1 c 162 1 root:disk 0660 create raw/raw2 c 162 2 root:disk 0660 create raw/raw3 c 162 3 root:disk 0660 create raw/raw4 c 162 4 root:disk 0660 create raw/raw5 c 162 5 root:disk 0660 create raw/raw6 c 162 6 root:disk 0660 create raw/raw7 c 162 7 root:disk 0660 create raw/raw8 c 162 8 root:disk 0660
# mkdir /dev/raw
mknod /dev/rawctl c 162 0
mknod /dev/raw/raw1 c 162 1 mknod /dev/raw/raw2 c 162 2 mknod /dev/raw/raw3 c 162 3 mknod /dev/raw/raw4 c 162 4 mknod /dev/raw/raw5 c 162 5 mknod /dev/raw/raw6 c 162 6 mknod /dev/raw/raw7 c 162 7 mknod /dev/raw/raw8 c 162 8
# cd /dev/raw # raw /dev/raw/raw1 /dev/hdb1
# MAKEDEV -v -n raw create rawctl c 162 0 root:disk 0660 create raw/raw1 c 162 1 root:disk 0660 create raw/raw2 c 162 2 root:disk 0660 create raw/raw3 c 162 3 root:disk 0660 create raw/raw4 c 162 4 root:disk 0660 create raw/raw5 c 162 5 root:disk 0660 create raw/raw6 c 162 6 root:disk 0660 create raw/raw7 c 162 7 root:disk 0660 create raw/raw8 c 162 8 root:disk 0660
node2:/dev/raw# raw -qa /dev/raw/raw1: bound to major 8, minor 17 /dev/raw/raw2: bound to major 8, minor 33 /dev/raw/raw3: bound to major 8, minor 49 /dev/raw/raw4: bound to major 8, minor 65 /dev/raw/raw5: bound to major 8, minor 81
# dd if=/dev/zero of=/dev/raw/raw1 bs=1024 count=1000