[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: device naming (was: should an end user stick to a kernel with an initrd?)



On 09/28/2013 04:54 AM, Ralf Mardorf wrote:
> On Fri, 2013-09-27 at 14:41 -0400, Tom H wrote:
[...]
>> I couldn't care less how many disks you have.
>>
>> Defaulting to the use of UUIDs isn't some wacky whim but a
>> well-reasoned technical decision, unless you want to claim to know
>> more than the developers putting together distributions.
>>
>> This isn't a question of "/dev/sdX works for me, yay!" The issue is
>> that device names aren't NECESSARILY stable (some would say that
>> they've never been so) so, distributions are using UUIDs in order to
>> avoid having any Linux user anywhere be unable to boot because sda is
>> now sdc, sdb is now sda, and sdc is now sdb...
> 
> I only want to mention that this never happened on my machine within the
> last >= 10 years and I turn my PC often on and off. How often does it
> switch on your machine? Does anybody experience that sda became sdb
> after rebooting? I don't claim that this can't happen.

I have a similar situation here: The device names never change -- sda is
always the same disk etc. Still, I already experienced what happens when
not using UUIDs, because I once installed my system on an external HDD
when the main disk had failed. Booting from the external HDD always
resulted in random device numbering (except for sr0 always being
sr0...). Sometimes my "boot" HDD was sda, sometimes sdb, sometimes sdc.
In the beginning it even failed because it said /dev/sda in my fstab but
that was quickly corrected to a UUID.

Linux-Fan.

-- 
http://masysma.ohost.de/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: