lkml.org 
[lkml]   [1997]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Raw-device-war (was Re: Sharing SCSI disks)
> 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.

Bernd

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.126 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site