newfs parameters for wren runner
Jim Jagielski
jim at jagubox.gsfc.nasa.gov
Fri Apr 5 21:29:27 AEST 1991
In article <27FBFA5C.17898 at orion.oac.uci.edu> rprohask at orion.oac.uci.edu (Robert Prohaska) writes:
}
}While were're at it, what's the difference between /dev/dsk/c6d0s3 (the
}partition I want to use) and /dev/rdsk/c6d0s3?
}
Well, /dev/dsk/c6d0s3 is the BLOCK device for that particular partition. That
is, read and writes will be done (mostly) on a block basis. Usually when
dealing with files, you want to use this device; that's why you mount the
BLOCK device.
However, there is another way to "talk" to this partition: character by
character. This is the /dev/rdsk/c6d0s3 partition, which stands for the RAW
device for that partition. newfs and fsck work better and faster when accessing
the RAW device. Also notice that such utilities as cpio and tar should be
used with the RAW device; that is output goes to rdsk not dsk (or rfloppy0
and not floppy0).
Generally, the rule of thumb is to use RAW for all file system utilities
and applications that are character/stream based (hence cpio). The BLOCK
device is the partition mounted.
--
===========================================================================
#include <std/disclaimer.h>
=:^)
Jim Jagielski NASA/GSFC, Code 711.1
jim at jagubox.gsfc.nasa.gov Greenbelt, MD 20771
"I object to all this sex on the television. I mean, I keep falling off!"
More information about the Comp.unix.aux
mailing list