Re: Confused about RAW devices ...

DAVID BALAZIC (david.balazic@uni-mb.si)
Mon, 18 Oct 1999 15:21:22 +0100 (MET)


>From: IN%"alan@lxorguk.ukuu.org.uk" "Alan Cox" 18-OCT-1999 14:38:38.05
>
>> I'm confused a bit ? What are those raw devices ?
>
>Direct transfer between user data and cache.

How is this different from traditional devices ?

>> And even if there were, using the O_SYNC flag should tell the driver :
>> "Don't cache this , dude !" and there is no need for new device files.
>
>O_SYNC tells you "write this now" - it is 'write through' caching. The raw
>devices both read and write directly using the media.

/dev/cdrom does reads too directly using the media ( dunno for writes :-)
as I pointed out in my post.

-- 
David Balazic , student
E-mail   : 1stein@writeme.com     |     living in  sLOVEnija
home page: http://surf.to/stein
Computer: Amiga 1200 + Quantum LPS-340AT
--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/