Completely modular system
I'm looking at creating a completely modular system. This includes modules for disk controllers, filesystems, etc. My goal is to have a system that can take any sort of hardware changes in stride -- and it seems like an interesting project.
Anyway, I'm looking for anyone who has done something similar, and anyone who has any input on this. As I figure it, I'll need an initrd with all the modules on it. On boot, coldplugging will be used to load necessary modules and a simple hotplug script can be used until the system boots. Hopefully this will take care of loading things like IDE and SCSI drivers.
My biggest issue is whether modules will load on their own... For example, the real time clock module doesn't ever seem to get loaded unless I explicitly load it; I really want complete automation, meaning no doing anything by hand.. But I'm not sure this is possible.
Along those same lines, when I try to mount an xfs partition (without specifying the fstype) in my initrd image, modprobe is not called. I must use -t xfs in order for it to be called. My initrd is basically just busybox.. So is this perhaps a busybox issue, or is it deeper than that?
So the root of my question, I guess, is: Is it possible to have *completely* automated module loading? I don't ever want to have to type modprobe and I don't ever want to have to edit /etc/modules.conf. I want the advantages of having everything compiled in combined with the advantages of modules. I also want the absolute fewest number of things compiled into the kernel as possible. ext2 is a must, but no other filesystems, no disk controllers, etc.