[linux-lvm] Some suggestions about lvminitrd_create

Daniel Savard dsavard at cids.ca
Thu May 16 11:44:02 UTC 2002


On Thu, 16 May 2002 16:23:41 +0200, "Heinz J . Mauelshagen" wrote :
> 
> On Wed, May 15, 2002 at 09:56:31AM +0100, Jonathan Buzzard wrote:
> > 
> > Just a couple of suggestions firstly it would be nice if it checked
> > for /boot/System.map-'uname -r' rather than for just /boot/System.map.
> > When you have more than one kernel floating about this is handy.
> 
> Yep, that's what the "-F" option aims to support.
> 

I have written my own version with the equivalent option. I also
reworked the script so it works the same way as the mkinitrd script,
reading the /etc/modules.conf to build a list of modules to include as
well as adding an option to specify the filesystems modules which are
required in the image. And using losetup to manage the loopback device.

I am trying to make my kernel as modularized as possible to limit its
size. So, all my filesystems are modules as well as drivers for my SCSI
peripherals, I added an option to specify the filesystems modules
required in the image. Still need some work. However, if you need a copy
I can send it to you. I found it a little bit difficult to maintain, I
tried to make better usage of functions.

> 
> -- 
> 
> Regards,
> Heinz    -- The LVM Guy --
> 
> *** Software bugs are stupid.
>     Nevertheless it needs not so stupid people to solve them ***
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> Heinz Mauelshagen                                 Sistina Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen at Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> 

-- 

=======================================
Daniel Savard
Consultation Informatique Daniel Savard
551, boul. Sir-Wilfrid-Laurier
suite 105
Beloeil, (Québec)
Canada J3G 4J1

Tél: (450) 467-8014
Internet: dsavard at cids.ca
=======================================






More information about the linux-lvm mailing list