Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Updated lvm2create_initrd
@ 2004-04-17 12:13 Jeff Layton
  2004-04-17 12:19 ` Jeff Layton
  2004-04-17 12:22 ` Jeff Layton
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Layton @ 2004-04-17 12:13 UTC (permalink / raw)
  To: linux-lvm

I've committed a new version of the lvm2create_initrd script to my SVN
repository. Mostly these are tiny incremental changes to Miguel's
original version. In particular:

1) Removed the line 'mkdir -p initrd' from the initrd init script. Doing
this would be modifying the initrd image prior to fsck'ing it, and might
be dangerous if there were a corrupted rootfs. It's not necessary for
pivot_root to work, but 

2) Pass $* to the 'exec /sbin/init' call at the end of the script init
script. This is necessary to allow for booting into single-user mode.

3) Added some entries to PATH under /initrd for folks (like me) who
have /usr as a separate filesystem, and who don't have a working chroot
program under /.

I've also updated the README, and added a lvm2udev startup script. See
the README for why this is necessary. Since this seems to be working
pretty well, perhaps it's time to start talking about adding this into
the LVM2 tarballs?
-- 
Jeff Layton <jtlayton@poochiereds.net>

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

end of thread, other threads:[~2004-04-17 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-17 12:13 [linux-lvm] Updated lvm2create_initrd Jeff Layton
2004-04-17 12:19 ` Jeff Layton
2004-04-17 12:22 ` Jeff Layton

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