From: Andreas Dilger <adilger@turbolinux.com>
To: David Balazic <david.balazic@uni-mb.si>
Cc: Andreas Dilger <adilger@turbolinux.com>, linux-kernel@vger.kernel.org
Subject: Re: Linux not adhering to BIOS Drive boot order?
Date: Wed, 17 Jan 2001 16:23:55 -0700 (MST) [thread overview]
Message-ID: <200101172323.f0HNNt529625@webber.adilger.net> (raw)
In-Reply-To: <3A657885.6D6F64C4@uni-mb.si> "from David Balazic at Jan 17, 2001 11:48:37 am"
David Balazic writes:
> Andreas Dilger <adilger@turbolinux.com> wrote :
> > In the end I re-wrote most of the patch, so
> > that we resolve ROOT_DEV before calling mount_root(), just to be a bit
> > more consistent. I will release a new patch for 2.2.18 and 2.4.0 after
> > David Balazic has a look at it.
>
> Cool, send it to me !
Need to test it a bit first (i.e. at least compile it)...
> > I know a bit about LILO, so I should be able to get the "root=LABEL=" to
> > work there as well.
>
> There were no problems with the original patch with LILO.
> You just must use append="root=xxxxx" instead of simply
> root=xxx , because LILO tries to be "smart" .... at least the
> version I used then did.
Actually, there are 2 ways to go about this: LILO could do the UUID/LABEL
resolution at the time lilo is run (to store root dev into kernel), and
_also_ append "root=LABEL=X" to kernel options, so that if the kernel
can't resolve the UUID/LABEL (i.e. no support for this option) we can fall
back to the root dev from when LILO was run.
> > One reason why this may NOT ever make it into the kernel is that I know
> > "kernel poking at devices" is really frowned upon.
>
> This an ugly hack , if you ask me. The identificators ( be it labels ,
> UUIDs or whatever ) should be outside the partitions. Otherwise cases with
> swap partitions , <any FS that doesn't support labels/UUIDs> unformatted
> partitions etc. can not be handled.
LVM now has UUID-like identifiers for all "partitions" (Logical Volumes),
although they are not really accessible by any tools right now. The "LABEL"
is actually the LV name, so it is used directly all the time:
/dev/vgroot/lvroot / ext3 defaults 1 1
/dev/vgroot/lvswap none swap sw,pri=100 0 0
This obviates most of the reason for the UUID/LABEL support, but not
everyone runs LVM (yet ;-) and ext2 UUID/LABELs are still useful.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-17 23:25 UTC|newest]
Thread overview: 89+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 10:48 David Balazic
2001-01-17 23:23 ` Andreas Dilger [this message]
2001-01-18 10:14 ` David Balazic
-- strict thread matches above, loose matches on Subject: below --
2001-01-18 16:55 David Balazic
2001-01-18 19:49 ` Tim Fletcher
2001-01-18 16:36 Andries.Brouwer
2001-01-18 11:01 David Balazic
2001-01-18 11:35 ` Tim Fletcher
2001-01-18 13:01 ` Xavier Bestel
2001-01-18 14:03 ` Tim Fletcher
2001-01-17 11:04 David Balazic
2001-01-17 10:56 David Balazic
2001-01-17 10:21 David Balazic
2001-01-17 10:28 ` Boszormenyi Zoltan
2001-01-16 22:54 Venkatesh Ramamurthy
2001-01-16 20:35 Venkatesh Ramamurthy
2001-01-16 20:14 Venkatesh Ramamurthy
2001-01-16 20:30 ` Dr. Kelsey Hudson
2001-01-16 21:18 ` Andreas Dilger
2001-01-17 15:33 ` Mike Porter
2001-01-17 16:16 ` James Bottomley
2001-01-17 17:07 ` Craig Ruff
2001-01-18 12:50 ` Peter Samuelson
2001-01-18 17:59 ` idalton
2001-01-18 18:14 ` Peter Samuelson
2001-01-18 20:53 ` Matti Aarnio
2001-01-18 22:55 ` David Weinehall
2001-01-16 17:39 Venkatesh Ramamurthy
2001-01-16 17:58 ` David Woodhouse
2001-01-16 21:11 ` Andreas Dilger
2001-01-17 9:38 ` David Woodhouse
2001-01-17 9:55 ` Jeff Garzik
2001-01-17 10:19 ` Andreas Dilger
2001-01-17 10:02 ` David Woodhouse
2001-01-19 1:17 ` H. Peter Anvin
2001-01-17 10:12 ` Andreas Dilger
2001-01-17 23:19 ` Russell King
2001-01-17 19:50 ` Werner Almesberger
2001-01-17 20:43 ` Andreas Dilger
2001-01-18 0:14 ` Tim Fletcher
2001-01-18 0:39 ` Andreas Dilger
2001-01-18 0:59 ` Tim Fletcher
2001-01-18 9:41 ` Helge Hafting
2001-01-16 17:30 Bryan Henderson
2001-01-16 17:04 David Balazic
[not found] <Venkateshr@ami.com>
2001-01-16 16:56 ` Venkatesh Ramamurthy
2001-01-16 19:52 ` John Summerfield
2001-01-16 16:51 Venkatesh Ramamurthy
2001-01-16 17:09 ` Honza Pazdziora
2001-01-16 16:46 Venkatesh Ramamurthy
2001-01-16 16:43 Venkatesh Ramamurthy
2001-01-16 20:01 ` Dr. Kelsey Hudson
2001-01-16 20:37 ` Michael Meissner
2001-01-16 21:01 ` Andi Kleen
2001-01-16 21:23 ` Michael Meissner
2001-01-16 23:32 ` J . A . Magallon
2001-01-17 0:05 ` Dr. Kelsey Hudson
2001-01-17 0:42 ` Michael Meissner
2001-01-17 2:14 ` Peter Samuelson
2001-01-17 17:22 ` Michael Meissner
2001-01-17 18:41 ` Douglas Gilbert
2001-01-17 9:45 ` Ishikawa
2001-01-17 15:45 ` J . A . Magallon
2001-01-16 23:51 ` Dr. Kelsey Hudson
2001-01-17 19:22 ` Werner Almesberger
2001-01-17 20:32 ` Matti Aarnio
2001-01-17 20:46 ` Werner Almesberger
2001-01-17 21:26 ` Dr. Kelsey Hudson
2001-01-16 16:35 Venkatesh Ramamurthy
2001-01-16 17:04 ` Brian Gerst
2001-01-16 17:24 ` Eddie Williams
2001-01-16 18:22 ` Timur Tabi
2001-01-16 19:18 ` Matthew D. Pitts
2001-01-16 19:54 ` Christopher Friesen
2001-01-16 21:04 ` Timur Tabi
2001-01-16 22:51 ` Peter Samuelson
2001-01-16 16:31 Venkatesh Ramamurthy
2001-01-16 16:53 ` Eddie Williams
2001-01-16 19:48 ` John Summerfield
2001-01-16 16:19 Venkatesh Ramamurthy
2001-01-16 16:23 ` Florent Cueto
2001-01-16 16:31 ` Brian Gerst
2001-01-16 16:40 ` Dominik Kubla
2001-01-16 15:49 Venkatesh Ramamurthy
2001-01-16 16:06 ` David Woodhouse
2001-01-16 16:27 ` Arjan van de Ven
2001-01-16 16:40 ` Matthias Andree
2001-01-16 16:45 ` Douglas Gilbert
2001-01-16 17:38 ` Malahal Rao Naineni
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=200101172323.f0HNNt529625@webber.adilger.net \
--to=adilger@turbolinux.com \
--cc=david.balazic@uni-mb.si \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®