Linux LVM users
 help / color / mirror / Atom feed
From: Jeff Layton <jtlayton@poochiereds.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Updated lvm2create_initrd
Date: Sat, 17 Apr 2004 08:13:42 -0400	[thread overview]
Message-ID: <1082204021.2403.17.camel@localhost> (raw)

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>

             reply	other threads:[~2004-04-17 12:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17 12:13 Jeff Layton [this message]
2004-04-17 12:19 ` [linux-lvm] Updated lvm2create_initrd Jeff Layton
2004-04-17 12:22 ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1082204021.2403.17.camel@localhost \
    --to=jtlayton@poochiereds.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox