Hi,
2009/1/19 Dan Hatton vi5u0-alug@yahoo.co.uk:
On Sun, 18 Jan 2009, Wayne Stallwood wrote:
why not move over to UUID's ?
Tell me more...
http://en.wikipedia.org/wiki/Uuid AFAIK, the UUIDs for disks are unique to filesystems.
ls -l /dev/disk/by-uuid/
You can use this in fstab as such: UUID=b824e09e-e582-45ba-81aa-3b49733e82ee /data ext3 defaults 0 0
This way, it doesn't matter if you swap over the cables and the disk becomes sdb rather than sda, mount will still find the correct filesystem to mount by UUID.
-Srdj