Administer raw disk partitions in the /etc/raw file, which 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:sda9Once you have created them, bind the raw devices 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