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

Re: disk names at boot

Hash: SHA1

Florian Kulzer wrote:

> I think you can use the device node symlinks in /dev/disk/by-label/ or
> /dev/disk/by-uuid/ to avoid ambiguities, or you can write your own udev
> rules to generate other symlinks in /dev that always point to the right
> partitions.
> AFAIK, the present architecture of the Linux kernel does not allow for
> the /dev/sdX nodes themselves to be well-defined in the manner that you
> would prefer.

You may be right. The sd?? Nazis may have broken the kernel :-)

Now I'm investigating building a customized initrd -- I'm beginning to
think that's where the names are set for the disks available at boot
time, and forever after. It looks like it may be possible to do what I
want by controlling that kernel's module load order. Unless it's the
same, single module that scans both SCSI and SATA controllers. In which
case it'd take, best case, some source code editing: far too much trouble.

I have a hard time believing, though, that there wouldn't have been a
lot of very loud wailing if it's not possible for us old server admins
to set things up the way I want to...

- --
Glenn English

Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Reply to: