Re: The ext3 way of journalling

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tuomo Valkonen <tuomov@...>
Cc: <linux-kernel@...>
Date: Tuesday, January 8, 2008 - 1:18 pm

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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: The ext3 way of journalling, Tuomo Valkonen, (Tue Jan 8, 12:52 pm)
Re: The ext3 way of journalling, Diego Calleja, (Tue Jan 8, 2:32 pm)
Re: The ext3 way of journalling, Jan Engelhardt, (Tue Jan 8, 1:18 pm)