Creating a Raw Disk Partition
If it is decided to use raw I/O towards a disk and a character special device for the disk partition in question is missing, such a device must be created. This can be done from a Logical Volume Manager (LVM) or on some systems by using the mknod command.
When a logical volume is created a corresponding character oriented raw device is created along with the block oriented one. When using raw I/O towards the character oriented device, make sure the block oriented device is not used (and not mounted at boot).
The major and minor numbers for the disk partition must first be identified and then the character special, non-buffering, device can be created:# ls -l sdb2 brw-rw---- 1 root disk 8, 18 May 5 1998 /dev/sdb2 # mknod rawname c 8 18 # ls -l *sdb2 crw-rw---- 1 root root 8, 18 Oct 18 08:51 /dev/rsdb2 brw-rw---- 1 root disk 8, 18 May 5 1998 /dev/sdb2
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40