Bug#484512: not all volume types export UUIDs (was: /dev/disk/by-id symlinks should not include
Quoted 8 lines · martin f krafft
also sprach Kay Sievers <[email protected]> [2008.07.02.1000 +0200]:
Quoted 2 lines
UUID's are the right solution here. Fix your mkswap, or re-run it, it has support for this for long:
Yes, you are right, this does work for many of my cases. Unfortunately, there are still volume types out there without UUID support, such as LVM (I think), mdadm, and non-LUKS dm-crypt. For those, UUIDs will not be available.
the debian packages are missing the udev rules for them. and it's quite time to put them in.
Signature · 1 line
maks
Re: Bug#484512: not all volume types export UUIDs (was:
also sprach maximilian attems <[email protected]> [2008.07.02.1303 +0200]:
Quoted 2 lines
the debian packages are missing the udev rules for them. and it's quite time to put them in.
mdadm will have them in the forthcoming 2.7.6-2. I used Ubuntu's rules. Maybe those can serve as a baseline for LVM etc?
(I still maintain that "by-id" does not mean "by-bustype-and-id")
Signature · 4 lines
.''`. martin f. krafft <[email protected]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
Re: Bug#484512: not all volume types export UUIDs (was:
In reply to maximilian attemsalso sprach Kay Sievers <[email protected]> [2008.07.03.1102 +0200]:
Quoted 2 lines
So, what id's/symlinks is the same disk showing for ATA and USB in your case?
I failed to reproduce this for lack of time and am now on the road again without the ability to swap my laptop's drive.
Quoted 5 lines
Only advanced USB bridges read the number from the actual disk, I have a bunch of enclosures here, which show all different id's for the same disk inserted. Also usb-storage needs to encode the target and lun number in the id, for multi-slot devices, so I do not think that will work.
All this makes sense, and it's starting to dawn on me that in fact, the bus type is needed. Thanks for your patience and sorry to be so stubborn^W purist about it.
Bug closed.
Signature · 4 lines
.''`. martin f. krafft <[email protected]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems