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

Modular initrd [was Re: [PATCH] mkinitrd rescue mode]



What about a modular initrd, similar to what is fond in Debian? 

Recently I had to patch the mkinitrd script to add support for the
swsuspend2 patch, and later I had to patch the script again to support
the i855resolution utility to properly resume from hibernation.

Maybe there could be an /etc/initrd directory with a structure like
this:

/etc
  |
  ---initrd/
        |
        |--bin/
        |--modules
        ---scripts/
              |
              |--10makedev.sh
              |--20modules.sh
              |--30raid.sh
              |--40lvm.sh
              |--50rescue.sh
              ---90pivot.sh

so one could easily add extra utilities, modules and scripts to that
directory structure, and the mkinitrd script could build the initrd
based on the contents of the directory. No more mkinitrd patching
required.

Loris





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