SuSE raw device administration

The raw disk partitions are administered in the /etc/raw file. This is a plain text file containing comments and examples for possible configurations:

# /etc/raw 
# 
# sample configuration to bind raw devices 
# to block devices 
# 
# The format of this file is: 
# raw<N>:<blockdev> 
# 
# example: 
# --------- 
# raw1:hdb1 
# 
# this means: bind /dev/raw/raw1 to /dev/hdb1 
# 
# ... 
raw1:sda7 
raw2:sda8 
raw3:sda9

Once created, you need to bind the raw devices. You do this by starting them with the script /etc/init.d/raw:

# cd /etc/init.d 
# sh raw start 
bind /dev/raw/raw1 to /dev/sdb1... done 
bind /dev/raw/raw2 to /dev/sdb2... done 
bind /dev/raw/raw3 to /dev/sdb3... done 
...

Use the chkconfig(8) utility to guarantee that the raw device binding occurs during any restart:

# /sbin/chkconfig raw on