Re: GFileMonitor can't monitor the files in /proc ?

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

 



On Tue, 2008-12-16 at 17:24 +0800, cee 2G wrote:
> Hi, I use the command: "gvfs-monitor-file /proc/partitions", and see
> no message (after I plug an U disk)
> How to monitor changes of files in /proc ? Any suggestion ?

polling /proc is *definitely* not a good idea. especially since, for
monitoring hotplug events, we already have HAL. use the HAL API to get a
notification.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux