All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Sy <andy@nospam.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Re: putting lvm autodetect into the kernel ala md
Date: Sat, 02 Apr 2005 03:59:13 +0800	[thread overview]
Message-ID: <424DA811.4040508@nospam.com> (raw)
In-Reply-To: <424CA0D1.5060905@nospam.com>

Luca Berra wrote:

> lilo does not read a partition.  all that lilo needs is to
> be able to create a mapping from a file to the physical sectors
> on the drive, and guess the BIOS id of that drive.

... and use BIOS (?) to load in the sectors containing
the kernel, initrd, etc... before passing off execution to it?

Anyway, now I believe I understand what you were trying to get at
earlier:

> confusion between a boot loader (which is the only limitation
> we have in loading a kernel/initrd/initramfs) and what the kernel
> can do.

In order for things to work if /boot resides in a non-physical (e.g.
RAID1, RAID0, lvm, etc...), LILO itself has to know how to read the
contents of /boot off of that type of partition.  Having lvm/md
autodetect on the kernel will NOT help LILO (it will, however,
eliminate the need for an initrd).


> I insist initrd is not an hassle, it is good programming
> practice.  This means code separation between kernel-space
> and user space, and the linux kernel is moving _that_ way.

Yes, I do find myself agreeing with your general sentiments.  The
primary concern, to do away with the need to have a separate
/boot partition, is not helped at all if the kernel can autodetect
lvm partitions.

Dispensing with the need for an initrd is but a secondary concern,
and fact is, I would also say that it brings a lot of flexiblity to
the table.  So no, having lvm autodetect in the kernel is not
what I'm looking for.  What we're looking for is good lvm support
in LILO.





-- 
reply-to: a n d y @ n e o t i t a n s . c o m

  parent reply	other threads:[~2005-04-01 19:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01  1:16 [linux-lvm] Re: putting lvm autodetect into the kernel ala md Andy Sy
2005-04-01 17:41 ` Luca Berra
2005-04-01 19:59 ` Andy Sy [this message]
2005-04-04 22:05   ` Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2005-04-01  0:39 Andy Sy
2005-04-01 17:41 ` Luca Berra
     [not found] <mailman.11694.1112144246.19557.linux-lvm@redhat.com>
2005-03-30  1:02 ` [linux-lvm] Re: Welcome to the "linux-lvm" mailing list Andy Sy
2005-03-30  6:52   ` Luca Berra
2005-03-30 15:38     ` [linux-lvm] Re: putting lvm autodetect into the kernel ala md Andy Sy
2005-03-31  7:38       ` Luca Berra

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=424DA811.4040508@nospam.com \
    --to=andy@nospam.com \
    --cc=andy@neotitans.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.