unable to auto unmount after accessing dir with Konqueror
Haven't seen this addressed in man pages or found anwer in my searches.
I am running Libranet 2.7, kernel 2.4.19. After much trial and error, have autofs working. Here's what I don't understand ...
If I access an automount dir from the console, all works as it is supposed to. However, if I access that same dir from Konqueror, it locks the device and the disk cannot be ejected, even if I am no longer browsing that dir in Konqueror.
For example:
1. At command line I type "ls /automnt/cd". The disk mounts, files display, then it automounts and I can eject. Of course, if I cd into dir of that drive, it won't unmount, which is to be expected, but will when I set dir elsewhere. All is well.
2. In Konqueror I type "/automnt/cd" in the address line (have to type is, since automounted directories don't display until mounted) and then <Enter> to display files. The disk mounts and files display. Fine so far. I then click on any other dir, let's say "/tmp". Those other files display. But, even though I am no longer viewing /automnt/cd, the automounted drive never umounts and disk can't be ejected.
In this situation, here's /etc/mtab (static drives not listed):
automount(pid1152) /automnt autofs rw,fd=5,pgrp=1152,minproto=2,maxproto=4 0 0
/dev/hdc /automnt/cd iso9660 ro,noexec,nodev,sync 0 0
Trying to umount from command line, "umount /automnt/cd" gives an error message of "umount: /automnt/cd: device is busy". But, only program running is Konqueror. Only way (that I have found) to unmount and eject disk is to close Konqueror. As you can expect, this makes Konqueror a pain to use with automounted drives.
here's /etc/auto.master:
/automnt /etc/auto.drives --timeout=3
here's /etc/auto.drives:
floppy -fstype=auto,sync,user,suid :/dev/fd0
cd -fstype=iso9660,ro,sync,user,suid :/dev/hdc
zip -fstype=auto,sync,user,suid :/dev/sda4
I can consistently replicate this behavior. What's up? Expected behavior of automount, my newbieness, need to change Konqueror setting, bug??? Does Konqueror keep a reference to the dir that prevents it from being unmounted? Any help appreciated.
Thanks much in advance for any help.
R
|