On Mon, Aug 3, 2009 at 11:57 PM, Chuck G. Smith<[email protected]> 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 on
Linux?  Maybe there's even a Gnome abstraction providing x-platform
notifications for system changes that I don't know of.

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe
_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to