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

Re: ata and scsi modules in initrd



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



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