lkml.org 
[lkml]   [1999]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Confused about RAW devices ...
>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/

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