On Wed, 17 Mar 2010 21:15:52 +0100, Ervin Hegedüs wrote:

> A user disconnect all disks, but udev didn't remove all symlinks...:
> 
> ls -la /dev/disk/by-id/ | grep sdb
> lrwxrwxrwx 1 root root   9 2010-03-12 21:40
> usb-SAMSUNG_HD642JJ_31AF4D71B000 -> ../../sdb lrwxrwxrwx 1 root root  10
> 2010-03-12 21:40 usb-SAMSUNG_HD642JJ_31AF4D71B000-part1 -> ../../sdb1
> 
> 
> Great... :(

And is that bad? How that intereferes with your goals? :-?

In fact, that is what I get. If I connect an USB flash drive, it gets 
listed under "/dev/disk/by-id" and when I umount it with nautilus, it 
still being showed there unless I *physically* remove/detach the flash 
drive from USB port.

What reminds me that on newer GNOME releases there are 2 options to 
handle this:

1/ "Eject" (that umounts and powers off the device without the needings 
of manually remove the drive).

2/ "Unmount" (that just umounts the volume).

So, maybe you need an "eject" action for "udev" can remove the 
symlinks :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.17.22.36...@gmail.com

Reply via email to