On Thu, Dec 28, 2006 at 07:51:08PM +0000, Craig Skinner wrote: > 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.
There is a utility called file(1), @Ray, not @Craig. [EMAIL PROTECTED] ~ > file /dev/rwd0c /dev/rwd0c: character special (3/2) [EMAIL PROTECTED] ~ > file /dev/wd0c /dev/wd0c: block special (0/2) Regards, ahb

