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

Christian Schoenebeck cuse at users.sourceforge.net
Fri Mar 28 09:29:47 UTC 2008


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



More information about the Linux-audio-dev mailing list