Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] updated lvm2create_initrd script
@ 2004-05-15 17:55 Jeff Layton
  2004-05-15 19:12 ` Jeff Layton
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2004-05-15 17:55 UTC (permalink / raw)
  To: linux-lvm; +Cc: Alasdair G Kergon, Miguel Cabeça

I've done some major updates to the lvm2create_initrd script today --
many of these were features I'd been wanting to add for a while. I'm
hoping this will bring the script closer to where it could be included
with the official tarballs.

I've done a little shuffling of my SVN tree, so it's now here:

http://www.poochiereds.net/svn/lvm2

A small changelog:

* added support for including modules in the initrd image. You have to
specify them on the commandline or pass in the $MODULES env. var to use
it.

* Added support for activating specified MD devices during the initrd
phase. This requires you to have mdadm installed.

* Per Alasdair's suggestion, we no longer copy lvm.conf by default, but
now do an lvm dumpconfig and build a new lvm.conf file. The script now
only includes device filters by default. You can also build your own
lvm.conf and have the script use that instead.

* doesn't clobber as many environment vars when running now. Most
everything that can be set on the command line (and more) can also be
set via environment vars (I may have missed a few though).

I've also started work on a man page for it, but haven't gotten very far
with it yet.

Alasdair, can you have a look at the new version of this script and let
me know if there are other changes you'd like to see?

-- 
Jeff Layton <jtlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] updated lvm2create_initrd script
  2004-05-15 17:55 [linux-lvm] updated lvm2create_initrd script Jeff Layton
@ 2004-05-15 19:12 ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2004-05-15 19:12 UTC (permalink / raw)
  To: LVM general discussion and development
  Cc: Alasdair G Kergon, Miguel Cabeça

Got a bug report a little while ago from someone using this script on a
RedHat machine. It looks like the MAKEDEV scripts on Debian and RedHat
take different options. Anyone have suggestions on how best to handle
this? I suppose we could do a case statement for each distrib or
something, but then I'll need something to key off of to decide what
invocation to use.

Thanks,
-- 
Jeff Layton <jtlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-15 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-15 17:55 [linux-lvm] updated lvm2create_initrd script Jeff Layton
2004-05-15 19:12 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox