[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] accessing a raw disk



Find the Linux driver for your drive and access the functions in it
directly in your code.  The large majority of this code will be portable
to RTL with little modification because the 'includes' in most drivers
are very low level.

- Kal.

Nicholas Mc Guire wrote:
> 
> Hi !
> 
>  could someone give any pointers to code/docs on how
>  to directly access a IDE disk device . I would
>  need this for a datalogger that should no copy to shm
>  or via fifo into userland and then do fileio to a filesystem
>  I would like to simply dump the stuff to a dedicated IDE-HD .
> 
> thx
> nmg
> 
> *------------------------------------------------------------------------*
> *THERE           {__}                         Universitaet Wien          *
> *IS              oo )                      Inst. f. Materialphysik       *
> *LIFE           O_   `_-------.              Mc  Guire  Nicholas         *
> *IN               (-.         ,-\                                        *
> *THE               || )---<  )            nicholas.mc.guire@univie.ac.at *
> *NET !             |||     | |          privat: der.herr@hofr.at         *
> *                                     q5293324@bonsai.fernuni-hagen.de   *
> *------------------------------------------------------------------------*
> * ASCII-COW 1995-2001 (c) der.herr@hofr.at                               *
> *------------------------------------------------------------------------*
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/