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

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

 



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




-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux