Package: eject Version: 2.1.5+deb1+cvs20081104-13.1 Severity: normal I use "eject" because with it possible to continue charging Kindle reader without re-plugging.
Recently I see that mount points doesn't removed after unplugging external storage (WD hard disk), like: bash# mount /dev/sdd1 on /media/wd type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,user) /dev/sde1 on /media/wd type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,user) That sad if I try to eject such storage: bash# sudo eject wd eject: tried to use `/dev/sdd1' as device name but it is no block device eject: tried to use `/mnt/wd' as device name but it is no block device eject: tried to use `./wd' as device name but it is no block device eject: unable to find or open device for: `wd' On other hand two subsequent calls to umount remove two duplicated entries: bash# sudo umount wd bash# mount /dev/sdd1 on /media/wd type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,user) bash# sudo umount wd bash# mount Seems kernel/udev goes faster then eject project... -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages eject depends on: ii libc6 2.19-22 ii libdevmapper1.02.1 2:1.02.110-1 eject recommends no packages. Versions of packages eject suggests: pn cdtool <none> pn setcd <none> -- no debconf information -- http://defun.work/