On Jan 8 2008 16:52, Tuomo Valkonen wrote:Roll your own. While that is true, configuration tools such as, ads aside, yast2 (designed for those "idiots" you referred to with 'WIMP idiot box') has a setting for which card should be loaded first. "Power users" may still use the index= option of sound card modules and wire it up in /etc/modprobe.d if they prefer. You can guess my answer: udev will fix it. And actually, udev will record the MAC address and the device name the first time it encounters a new device, hence will always use the same interface name for a MAC address. So the MAC--interface mapping may be wrong on the first install (until you 'fix' the mapping so that it is to your liking), but will remain the same afterwards. Exempt are some nvidia-based weirdo chips which assign a random MAC at every boot. Well what do you expect of it? The kernel does not keep USB port <-> SCSI device mappings. Neither USB device <-> SCSI device mapping, because not all USB ports or USB devices are mass-storage devices. It just is not the kernel's job. Now that you mention that, /dev/disk/by-id/ata-DIAMOND_250G_2B5400_030400026 always has had the contents I expected it to have. Wonder how that comes!? Don't tell me you are using those old-fashioned /dev/sda - that would be negligent. Some/most(?) distros do not follow /dev/disk consistently yet, so you are free to blame them. Not to forget that udev makes this possible :) Nothing to configure, this is standard udev configuration file boilerplate and comes prepackaged. Upgrade udev to version 114 at least. Mine plays very well. $ cat /etc/crypttab home /dev/disk/by-id/ata-DIAMOND_250G_2B5400_030400026-part2 none cipher=aes-cbc-essiv:sha256 and /dev/mapper/home is a fixed name. May I remind you that the kernel also "loses" all your network interface configuration, routes, firewalling rules and all sysctl settings at boot (sic: reboot & powerdown). Distros have to decide whether to - not autoload a zillion of modules, potentially generating lots of crying "idiot" users - autoload a zillion of modules, potentially firing you up. Nonsense. The kernel notices udev about all available hardware and udev will load modules. It has nothing to do with initrd, in fact, this very step of loading a gazillion of modules is done after initrd has passed control on to /sbin/init. At least, in opensuse. --
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Artem Bityutskiy | [PATCH 18/44 take 2] [UBI] build unit implementation |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Paul Jackson | [PATCH] cpuset sched_load_balance kmalloc fix |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
