Skip to contentSkip to conversation

Some suggestions about lvminitrd_create

linux-lvm Daniel Savard 1 participant 1 message May 16, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Heinz J . Mauelshagen
Quoted 4 lines · Jonathan Buzzard

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.

Quoted 20 lines
Signature · 17 lines
-- 

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
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Signature · 11 lines
=======================================
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: [email protected]
=======================================