[Virtual-pkg-base-maintainers] Bug#649597: /dev/disk/by-id incomplete with two exactly same USB disks
Alain SAURAT
maisondouf at yahoo.fr
Tue Nov 22 13:54:25 UTC 2011
Package: base
Severity: normal
I have connected two USB disk which are exactly indentical.
The disks are Iomega 320Go and their ID is "ST332082_0AS_5F542FFFFFFF"
The 1st have 4 partitions and the 2nd only one.
"cat /dev/disk/by-id" only show a disk with 4 partitions :
usb-ST332082_0AS_5F542FFFFFFF-0:0
usb-ST332082_0AS_5F542FFFFFFF-0:0-part1
usb-ST332082_0AS_5F542FFFFFFF-0:0-part2
usb-ST332082_0AS_5F542FFFFFFF-0:0-part3
usb-ST332082_0AS_5F542FFFFFFF-0:0-part4
But there is cross references:
If I make "dd if=/dev/disk/by-id/usb-ST332082_0AS_5F542FFFFFFF-0\:0 of=ggg count=1"
I can see with "hd ggg" that this is the 2nd disk partition table and not the 1st.
idem if I test with "usb-ST332082_0AS_5F542FFFFFFF-0:0-part1", but with 2,3 and 4 this is really the parts of the 1st disk.
So I suppose that during detection of the 1st disk, id are created correctly and when the 2nd is detected id are re-writen with the same name.
system Infos:
wheezy/sid on Marvell sheevaplug
Linux SheevaDaily 3.0.0-1-kirkwood #1 Sun Aug 28 14:30:35 UTC 2011 armv5tel GNU/Linux
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid-updates
APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-35-generic-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Virtual-pkg-base-maintainers
mailing list