Re: udev: same serial on different disks



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-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2010.03.17.22.36.50@xxxxxxxxx



Relevant Pages

  • Re: distributions: UBUNTU vs DEBIAN
    ... Both have different goals and are targetted to different users. ... And, of course, why there's UBUNTU and KUBUNTU. ... The trouble with telling a good story is that it invariably reminds ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: HOWTO enhance Debian by removing HAL
    ... him forking a more back to the roots Debian. ... removing bash from the list of essential packages (replacing it by ... dash) is one of the release goals for squeeze. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: problem with IP Masquerade in etch
    ... try bash -x <scriptname> and show use the results ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... any further since I don't have an oldstable running. ... "The point now is how do we work together to achieve important goals. ...
    (Debian-User)
  • Re: dumb question about Adobe Acrobat....
    ... given that there seem to be dozens of ways of achieving one's goals ... with *nix OSs. ... PDF, like many formats, is an ever moving goalpost. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: dumb question about Adobe Acrobat....
    ... given that there seem to be dozens of ways of achieving one's goals ... with *nix OSs. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)