Re: Raw-device-war (was Re: Sharing SCSI disks)

Bernd Schmidt (crux@Pool.Informatik.RWTH-Aachen.DE)
Wed, 2 Apr 1997 11:06:52 +0200 (MET DST)

> It may just be my limited understanding of the subject, but as far as I
> can see it's already possible to have raw access to a disk, how else could
> mke2fs do it's work ? The discussion seems to be about
> buffered/unbuffered, and why shouldn't you supply unbuffered devices if
> someone wants them ?

The kernel even does unbuffered access at times, namely if you are using
swapfiles. Have a look at ll_rw_swapfile in ll_rw_block.c. It would probably
not be hard to change this a bit so it becomes generally usable and make it
accessible from userspace.