Re: ata and scsi modules in initrd

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

 



On Mon, 2007-12-03 at 10:23 -0600, Les Mikesell wrote:
> David Zeuthen wrote:
> 
> > Code in the initramfs shouldn't have to be modified just because you
> > throw extra kernel modules in. Seriously. The initramfs isn't hard, it's
> > a solved problem [0], it goes like this
> > 
> >  - figure out UUID or LABEL [1] for rootfs. Write out an udev rule that
> >    will create a /dev/root symlink to said device
> [...]
> 
> > [1] : Or device name though it should never ever be necessary to use
> >       device names.
> 
> How do you get the UUID or LABEL or filesystem on the device without 
> knowing the device name?

You know it at initramfs generation time and you include that
information in the initramfs image.

    David


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://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