Re: Reqst for Information: Loopback device programming

From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 04/19/05

  • Next message: Kasper Dupont: "Re: timestamp changing for /dev/ptmx"
    Date: Tue, 19 Apr 2005 12:38:16 +0200
    
    

    maheshpradhan@fastmail.fm wrote:
    >
    > I am doing an academic project, in which I need to write a loopback
    > device for one of the components. The platform is Linux, Kernel
    > 2.4.x/2.6.x. This device will carry out a transformation on the data
    > before writing it to disk. This needs to be done in an application
    > transparent manner.
    > I request you to point me to some tutorials, sample code etc which
    > could
    > be useful for this work.

    For initial experiments I think writing an nbd server in
    user mode and then using the nbd driver to access it is
    the easiest way to get started.

    -- 
    Kasper Dupont
    

  • Next message: Kasper Dupont: "Re: timestamp changing for /dev/ptmx"

    Relevant Pages

    • Re: Book about Platform Builder
      ... possibility I see of anyone writing one is for 'resume building and name ... > into platform builder including a lot of changes about directory ... > So when will there be a new book about Platform Builder??? ... > 'Developing Windows CE.net Devices' will be published some lovely day) ...
      (microsoft.public.windowsce.platbuilder)
    • Re: embedded PC
      ... platform should ... Certainly when you use on-chip peripherals you ... Leaving the low level drivers aside, you can of course achieve some of ... flexibility be writing your application program in a way that is not ...
      (comp.arch.embedded)
    • Re: Economy of Expression
      ... find helps you to get the job done while also helping you to write less ... I'm interested in what helps you get more done while writing less code. ... Divide the program into four sections. ... Section two is "this program only, any platform", section three is "many programs, this platform only", and section four is "many programs, any platform". ...
      (comp.programming)
    • Re: reading multiple files
      ... The question is reasonable and, in my opinion, topical. ... writing a C program would meet the OP's needs better. ... why have a "similar" solution for each platform when you ... But by the time you've learned Perl and written a Perl interpreter for, ...
      (comp.lang.c)