Re: [LAD] OT.C Library for mounting, processing data

From: Christian Schoenebeck <cuse@email-addr-hidden>
Date: Fri Mar 28 2008 - 11:29:47 EET

Am Freitag, 28. März 2008 09:07:21 schrieb Patrick Shirkey:
> Hi,
>
> Can anyone point me to a library that lets me mount a disk, copy data to
> the disk and unmount the disk?
>
> I'm using c and gtk.

Uhm... how about the short way:

#include <stdlib.h>

int main() {
    system("mount /dev/foo /bar");
    system("cp this there");
    system("umount /bar");
}

CU
Christian
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Mar 28 12:15:06 2008

This archive was generated by hypermail 2.1.8 : Fri Mar 28 2008 - 12:15:06 EET