Hi, All:
This Desktop thing is getting entirely too friendly at times. I plug a
USB stick, open file on it with a Gnome application, and bingo, it cannot
be unmounted (with right-click). This is an FC3.
When I looked at it closer, it turned out that gam_server will happily
grab and hold just about anything if GNOME comes anywhere near it. Behold:
[EMAIL PROTECTED] zaitcev]# mount /dev/uba1 /mnt/tmp
[EMAIL PROTECTED] zaitcev]# ls /mnt/tmp
ranma_1x01.avi vmlinuz-2.6.10-ub
[EMAIL PROTECTED] zaitcev]# df -ka /mnt/tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/uba1 1023696 185696 838000 19% /mnt/tmp
[EMAIL PROTECTED] zaitcev]#
<------ At this point, run something GNOME, like Totem. Bring file dialog,
go to "Filesystem", then /mnt/tmp. You do not have to open any
files, visiting is sufficient to make GNOME interested. Cancel
dialog and exit application.
[EMAIL PROTECTED] zaitcev]#
[EMAIL PROTECTED] zaitcev]# umount /mnt/tmp
umount: /mnt/tmp: device is busy
umount: /mnt/tmp: device is busy
[EMAIL PROTECTED] zaitcev]# fuser -m /mnt/tmp
/mnt/tmp: 3729
[EMAIL PROTECTED] zaitcev]# ps auxw |grep 3729
zaitcev 3729 3.9 0.2 3412 1272 ? S 10:43 1:36
/usr/libexec/gam_server
root 4089 0.0 0.1 3724 664 pts/0 S+ 11:23 0:00 grep 3729
[EMAIL PROTECTED] zaitcev]#
For crying out loud... Old bad FAM did not do this.
I have read the Gamin FAQ and I know that I can exclude certain paths.
I just cannot understand why would it be necessary to do it. Does
inotify require directories to be open by its clients? If so, it's
broken by design.
-- Pete
_______________________________________________
Gamin-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gamin-list