Re: Need to write app for usb storage

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

 



On Mon, Aug 3, 2009 at 11:57 PM, Chuck G. Smith<cgasmith@xxxxxxxxxxx> wrote:>> simple, any programming language you want just shell out and cat> /proc/partitions and when it changes state, something has been inserted,> make sure you stat for the files or directories when you  attempt to copy.>  If this is greek to you., then perhaps you should consider a book or two on> say python and python cookbook.
Wouldn't using udev or inotify be better way to do that, at least onLinux?  Maybe there's even a Gnome abstraction providing x-platformnotifications for system changes that I don't know of.
/M
-- Magnus Therning                        (OpenPGP: 0xAB4DFBA4)magnus@therning.org          Jabber: magnus@therning.orghttp://therning.org/magnus         identi.ca|twitter: magthe_______________________________________________gnome-list mailing listgnome-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux