Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
On Tue, Jun 21, 2005 at 11:23:12AM +0200, Sjoerd Simons wrote: On Fri, Apr 08, 2005 at 05:38:29PM +0200, Martin Pitt wrote: Diwaker Gupta [2005-02-03 17:27 -0800]: Also, can you unmount the respective device manually? So what happens if you execute 'pumount /dev/yourdevice' while the device is still mounted? If that command fails, please try Yes, I can unmount the device manually. pumount fails. # first I ripped out the device $ mount [snip] /dev/sda1 on /mnt/backup type ext3 (rw,noexec,nosuid,nodev,user=diwaker) # so the entry is still there, while it shouldn't have been $ pumount /dev/sda1 Error: could not determine real path of the device: No such file or directory # of course, since /dev/sda1 doesn't exist anymore $ pumount -d /dev/sda1 /dev/sda1 cannot be resolved to a proper device node Error: could not determine real path of the device: No such file or directory Like I said, this only happens with devices which have entries in /etc/fstab. Devices that are completely automagically handled by pmount don't give this problem. pmount does not do automatic unmounting of ripped out devices, this is done by /etc/dev.d/block/hal-unmount.dev. This doesn't seem to work for you, I reassign to the hal maintainer. (Hello Sjoerd :-) ) Does pumount -l your ripped device work ? If that works, do the same again but use ACTION=remove DEVNAME=device name /etc/dev.d/block/hal-unmount.dev That should also unmount the device... If those both work we should track down what's going wrong with udev on your system.. Do You still have this problem with recent versions of hal and udev ? Sjoerd -- When the going gets tough, the tough get empirical. -- Jon Carroll -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
On Fri, Apr 08, 2005 at 05:38:29PM +0200, Martin Pitt wrote: Diwaker Gupta [2005-02-03 17:27 -0800]: Also, can you unmount the respective device manually? So what happens if you execute 'pumount /dev/yourdevice' while the device is still mounted? If that command fails, please try Yes, I can unmount the device manually. pumount fails. # first I ripped out the device $ mount [snip] /dev/sda1 on /mnt/backup type ext3 (rw,noexec,nosuid,nodev,user=diwaker) # so the entry is still there, while it shouldn't have been $ pumount /dev/sda1 Error: could not determine real path of the device: No such file or directory # of course, since /dev/sda1 doesn't exist anymore $ pumount -d /dev/sda1 /dev/sda1 cannot be resolved to a proper device node Error: could not determine real path of the device: No such file or directory Like I said, this only happens with devices which have entries in /etc/fstab. Devices that are completely automagically handled by pmount don't give this problem. pmount does not do automatic unmounting of ripped out devices, this is done by /etc/dev.d/block/hal-unmount.dev. This doesn't seem to work for you, I reassign to the hal maintainer. (Hello Sjoerd :-) ) Does pumount -l your ripped device work ? If that works, do the same again but use ACTION=remove DEVNAME=device name /etc/dev.d/block/hal-unmount.dev That should also unmount the device... If those both work we should track down what's going wrong with udev on your system.. Sjoerd -- It's hard to think of you as the end result of millions of years of evolution. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
reassign 292482 hal thanks Hi Diwaker! Diwaker Gupta [2005-02-03 17:27 -0800]: Also, can you unmount the respective device manually? So what happens if you execute 'pumount /dev/yourdevice' while the device is still mounted? If that command fails, please try Yes, I can unmount the device manually. pumount fails. # first I ripped out the device $ mount [snip] /dev/sda1 on /mnt/backup type ext3 (rw,noexec,nosuid,nodev,user=diwaker) # so the entry is still there, while it shouldn't have been $ pumount /dev/sda1 Error: could not determine real path of the device: No such file or directory # of course, since /dev/sda1 doesn't exist anymore $ pumount -d /dev/sda1 /dev/sda1 cannot be resolved to a proper device node Error: could not determine real path of the device: No such file or directory Like I said, this only happens with devices which have entries in /etc/fstab. Devices that are completely automagically handled by pmount don't give this problem. pmount does not do automatic unmounting of ripped out devices, this is done by /etc/dev.d/block/hal-unmount.dev. This doesn't seem to work for you, I reassign to the hal maintainer. (Hello Sjoerd :-) ) Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developerhttp://www.ubuntulinux.org Debian Developer http://www.debian.org signature.asc Description: Digital signature
Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
Hi Martin, Sorry, didn't reply to this earlier. Got buried somewhere and stupid Kmail marked in 'read' while syncing with my IMAP folders. Anyways! On Thursday 27 January 2005 05:35 am, Martin Pitt wrote: Did you just rip out the device, or did you (tried to) unmount it in Nautilus before? Just rip it out. Also, can you unmount the respective device manually? So what happens if you execute 'pumount /dev/yourdevice' while the device is still mounted? If that command fails, please try Yes, I can unmount the device manually. pumount fails. # first I ripped out the device $ mount [snip] /dev/sda1 on /mnt/backup type ext3 (rw,noexec,nosuid,nodev,user=diwaker) # so the entry is still there, while it shouldn't have been $ pumount /dev/sda1 Error: could not determine real path of the device: No such file or directory # of course, since /dev/sda1 doesn't exist anymore $ pumount -d /dev/sda1 /dev/sda1 cannot be resolved to a proper device node Error: could not determine real path of the device: No such file or directory Like I said, this only happens with devices which have entries in /etc/fstab. Devices that are completely automagically handled by pmount don't give this problem. Hope that helps, Diwaker -- Diwaker Gupta Graduate Student, Computer Sc. and Engg. University of California, San Diego http://resolute.ucsd.edu/diwaker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
Package: pmount Version: 0.5.1-1 Severity: minor I'm not sure if this is a pmount bug or something related to hal/gnome-volume-manager. But when I'm using pmount with devices that *have* entries in /etc/fstab, the device gets mounted properly, nautilus shows up and so on and so forth. But when the device is plugged out, its not unmounted; that is, running 'mount' still shows the device as mounted. So if I plug/un-plug the device, I can see 3 distinct entries in /etc/mtab, 2 of which are naturally dangling. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-2005-01-26 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages pmount depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libsysfs1 1.2.0-4 interface library to sysfs -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#292482: pmount: mount points in /etc/fstab remain mounted after unplugging
Hi Diwaker! Diwaker Gupta [2005-01-27 1:48 -0800]: I'm not sure if this is a pmount bug or something related to hal/gnome-volume-manager. But when I'm using pmount with devices that *have* entries in /etc/fstab, the device gets mounted properly, nautilus shows up and so on and so forth. But when the device is plugged out, its not unmounted; that is, running 'mount' still shows the device as mounted. So if I plug/un-plug the device, I can see 3 distinct entries in /etc/mtab, 2 of which are naturally dangling. Did you just rip out the device, or did you (tried to) unmount it in Nautilus before? Also, can you unmount the respective device manually? So what happens if you execute 'pumount /dev/yourdevice' while the device is still mounted? If that command fails, please try pumount -d /dev/yourdevice to get some debug messagtes. Martin -- Martin Pitt http://www.piware.de Ubuntu Developerhttp://www.ubuntulinux.org Debian GNU/Linux Developer http://www.debian.org signature.asc Description: Digital signature