David Zeuthen wrote:
On Thu, 2008-01-10 at 09:31 -0600, Les Mikesell wrote:
Is it a user program that has changed my /dev/hdX into /dev/sdX more or
less arbitrarily - or turns what used to be detected as eth0 into eth2
when a different kernel is booted? Admittedly it has been a while since
I've used Solaris, but I can't recall anything like that ever happening
with it. In a unix-like system where access to everything is through
its device/file name, what is more fundamental than that?
This is a flawed example. The problem is that you're relying on names
assigned in an irregular fashion and it will happen on Solaris as well
if you move disks between controllers etc. The way to do this in the
modern world is to rely on persistent names. See /dev/disk/* and the
udev rules for stable network interface names. Of course you can argue
that e.g. /dev/sda or /dev/hda should stay stable but I doubt you're
going to find much sympathy for such a point of view.
And the interesting thing is it looks like /dev/sdX will 'stay stable' as the
way its done after that change. Change happens. :)
--
Andrew Farris <lordmorgul@xxxxxxxxx> <ajfarris@xxxxxxxxx>
gpg 0xC99B1DF3 fingerprint CDEC 6FAD BA27 40DF 707E A2E0 F0F6 E622 C99B 1DF3
No one now has, and no one will ever again get, the big picture. - Daniel Geer
---- ----
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list