Re: need advice about accessing usb devices



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.

-- 
John (J5) Palmieri
Associate Software Engineer
Desktop Group
Red Hat, Inc.
Blog: http://martianrock.com




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