Re: need advice about accessing usb devices



Now I understand, using <sys/mount.h>, thanks!


On Mon, 2005-03-28 at 10:51 -0500, John (J5) Palmieri wrote:
> On Sun, 2005-03-27 at 23:08 +0200, Marko Anastasov wrote:
> > Hello,
> > I'm at the beginning of writing a program which reads
> > and writes from usb flash drives. So far I'm able to
> > read some basic information about a device using libusb,
> > but it seems that I can't do much more, as the read/write
> > functions are very low-level. Since nautilus relies on
> > GnomeVFS and it deals with usb drive i/o of course, I
> > suppose that using GnomeVFS it's possible to have access to
> > it at a file-level - is that correct? I still don't know
> > much about this so any advice will be very helpful to me.
> > Thanks,
> > Marko
> 
> You don't need gnome-vfs.  Just mount the device and you will have
> access to it at the file level.  gnome-vfs just sees flash devices as
> mounted partitions.
> 




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