08-20-04 01:49 AM
dfreybur@yahoo.com (Doug Freyburger) wrote in message news:<7960d3ee.0408091100.4376b1a4@pos
ting.google.com>...
> yls177 wrote:
>
> Filesystems contain files or directories. Raw devices do not. If
> you wish to create a directrory inside of a raw device, a filesystem
> is the only way.
>
> So it has something to do with what's possible and impossible at
> that layer of the onion.
filesystems are a logical thing. they resides on the disks itself and
their access is through the file system buffer cache, and they uses
block devices.
for raw devices, they bypasses the file system's buffer cache and
gives you "direct" access to the device.
i search the web and find the below
"There are two ways to access a device (hard drive, floppy, CD-ROM,
what
have you). One is the standard method, which uses block devices. The
other method for accessing these devices is via the raw device
interface. You're accessing the same hardware, but the raw device
bypasses the file system's buffer cache and gives you "direct" access
to
the device. This can be very convenient for particular purposes, but
you need to be careful if you ever intend to mix block and raw
accesses
to the same device."
1) filesystem is in the block device category?
2) when will we decide which category(block or raw) to use?
[ Post a follow-up to this message ]
|