Hi On Friday 20 November 2009, Larry Finger wrote: > On 11/20/2009 05:12 AM, Michael Buesch wrote: [...] > You might look at the "root=" part of /proc/cmdline. Mine says > "root=/dev/disk/by-id/ata-TOSHIBA_MK2546GSX_18C2P0KCT-part1". That disk serial > number would certainly be unique. Even if it just said "root=/dev/sda1", it > would be repeatable. [...]
"by-id" has the disadvantage that it changes with the means of accessing the disk, namely if your driver uses the old (obsolete) ide API or is a new libata driver. Technically only "by-uuid" is relatively guaranteed to be stable (unless a partition gets cloned with dd), with "by-label" coming close (only bad if any disk or USB storage device duplicates an existing label, like "root"). Regards Stefan Lippers-Hollmann _______________________________________________ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev