linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@caldera.de>
To: Andreas Dilger <adilger@turbolinux.com>
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] LVM support for LILO
Date: Sat, 9 Sep 2000 12:07:58 +0200	[thread overview]
Message-ID: <20000909120758.A11786@ns.lst.de> (raw)
In-Reply-To: <200009081950.NAA16934@lynx.turbolabs.com>; from adilger@turbolinux.com on Fri, Sep 08, 2000 at 01:50:20PM -0600

On Fri, Sep 08, 2000 at 01:50:20PM -0600, Andreas Dilger wrote:
> Yes, it would be nice to eliminate the requirement for an initrd to use
> LVM.  It may be that you could put some limits in place to make the root
> VG simple enough for the kernel to load.  You could even hard-code it to
> have only 1 LV in this VG, which is the root filesystem.  If it was all
> __init code for the LVM module, it would not bloat the kernel...  The
> tricky part would be to find the right PV for the rootvg before LVM is
> loaded...

I'm working on this. It is handled very much like md autostart.
In partitions/msdos.c a function is called for every partition with
the lvm id. This function reads the pv structure, and adds it to the
linked list of pvs for this vg (or creates it if this is the first pv).

If all pvs of a vg are found, the vg, lv and pe structures are loaded
from disk and the vg can be activated with a (modified) vgchange -a y.

Expect alpha code in a few weeks.

	Christoph

-- 
Always remember that you are unique.  Just like everyone else.

  parent reply	other threads:[~2000-09-09 10:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-08 19:50 [linux-lvm] LVM support for LILO Andreas Dilger
2000-09-09  7:44 ` Luca Berra
2000-09-09 10:07 ` Christoph Hellwig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-09-08 19:39 Andreas Dilger
2000-09-07 18:25 Andreas Dilger
2000-09-07 21:43 ` Andi Kleen
2000-09-07 22:39   ` Andreas Dilger
2000-09-07 22:46     ` Andi Kleen
2000-09-07 23:44       ` Andreas Dilger
2000-09-08 14:25         ` Andi Kleen
2000-09-08  0:11   ` Heinz J. Mauelshagen
2000-09-07 22:14     ` Andi Kleen
2000-09-07 23:00     ` Andi Kleen
2000-09-08  0:02 ` Heinz J. Mauelshagen
2000-09-07 23:29   ` Andreas Dilger
2000-09-08 13:02     ` Heinz J. Mauelshagen
2000-09-08 13:47       ` Luca Berra
2000-09-08 19:09         ` Heinz J. Mauelshagen
2000-09-08 14:03     ` Michael J Kellen
2001-02-27  0:30       ` Ralph Jennings

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=20000909120758.A11786@ns.lst.de \
    --to=hch@caldera.de \
    --cc=adilger@turbolinux.com \
    --cc=linux-lvm@msede.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;
as well as URLs for NNTP newsgroup(s).