persistent disk numbering
Oron Peled
oron at actcom.co.il
Sat Feb 28 14:33:45 IST 2009
On Saturday, 28 בFebruary 2009, Erez D wrote:
> i have 2 sata disks. i boot from both (one at a time of course)
>
> when i disconnect the second, all is persistent, the first stays sda
> however when i disconnect the first, the seconds changes from sdb to sda
>
> is there a way to make it persistent ?
> (something like UID= or LABEL= as is done in fstab )
The sd? names are not persistent that's why you may use either
the UUID=, LABEL= etc. or alternatively you may want to look
at:
/dev/disk/by-label
/dev/disk/by-uuid
/dev/disk/by-id
/dev/disk/by-path
--
Oron Peled Voice: +972-4-8228492
oron at actcom.co.il http://www.actcom.co.il/~oron
"LINUX is tied fairly closely to the 80x86. Not the way to go."
- LINUX is obsolete, Andy Tanenbaum, 29 Jan 92.
More information about the Linux-il
mailing list