On Tue, Oct 25, 2011 at 08:19:29AM +0200, Stefan Seyfried wrote:
I'm planning to upgrade my laptop drive. While preparing for the exchange, I found that the default options to refer to the disk drive are crap for my use case:
susi:~ # cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-WDC_WD2500BEVS-08VAT2_WD-WX20AC9U2733
This will work if I put the current drive into another computer, but it will fail miserably when dd'ing the contents of this disk onto another drive ;-)
So I was looking for another way to refer to the disk. Probably for now, the /dev/disk/by-path will have to do, as it will stay the same in this machine.
How about using a label per disk/ partition? Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany