Re: GFileMonitor can't monitor the files in /proc ?
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: GFileMonitor can't monitor the files in /proc ?
- Date: Tue, 16 Dec 2008 10:04:05 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]