On Thu, Dec 28, 2006 at 05:55:06PM +0000, Ray wrote: > I am building my process for backup / restore using dump & restore. > > Looking at the FAQ when restoring the file system, I noticed: > > newfs /dev/r[drive][partition] > > for example: > newfs /dev/rwd0a > > What is the 'r' before the wd0a and its purpose?
$ ls -l /dev/rwd0a crw-r----- 1 root operator 3, 0 Dec 1 14:49 /dev/rwd0a The raw disk slice is accessed one character at a time, it is a character device. $ ls -l /dev/wd0a brw-r----- 1 root operator 0, 0 Dec 1 14:49 /dev/wd0a This is block device, blocks of data can be read/written.