[lkml]   [2001]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Raw access to block devices
Hi Peter, thanks for your help. I found that the
control device is only for GETBIND or SETBIND. It
seems that the binded devices still have to be char
devices. Is there a way to change this?
Your help is much appreciated. Thanks.

--- "Peter T. Breuer" <> wrote:
> "A month of sundays ago Roy S.C. Ho wrote:"
> > I would like to write a driver for a block device
> that
> > is better to be accessed directly without going
> > through the buffer cache. I read the source code
> raw.c
> > and learnt that linux does have raw I/O support.
> > However, it seems to me that the support only
> provides
> > a character device interface to users. Is there a
> I think that's the control device. You can work out
> how to use it
> by looking at the ioctls in raw.c. But, yes, sure,
> if you get some
> "official" news on how to work it, let me know too
> and I'll use the
> info like a shot!
> > simple way to maintain the block device interface
> to
> > user programs / other parts of the kernel, while
> > bypassing the buffer cache system?
> Peter
> -

Do You Yahoo!?
Find the one for you at Yahoo! Personals
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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