lkml.org 
[lkml]   [1999]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: file read/write within device driver
    Hi,

    On Mon, 26 Apr 1999 11:21:05 -0700 (PDT), David Beccue
    <David@Beccue.com> said:

    > And to be more precise, I don't really want to do "file" I/O as much
    > as I want to do "block device" I/O. I want to write to /dev/sdb3 or
    > a loopback driver, not actually an ext2 file.

    Then look at any of the existing filesystem code in (say) ext2 or
    isofs as an example. The filesystems make extensive use of buffer
    cache IO from kernel space, so you should find plenty of relevant
    examples.

    --Stephen


    -
    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:51    [W:0.022 / U:91.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site