From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Questions about SystemD and OpenRC
Date: Sun, 12 Aug 2012 08:25:23 -0400 [thread overview]
Message-ID: <CAGfcS_nadJGs9_y=p0cJ6uJs5_zD7N2dyh6PxZQr8=yNFKLhUg@mail.gmail.com> (raw)
In-Reply-To: <pan.2012.08.12.09.43.27@cox.net>
On Sun, Aug 12, 2012 at 5:43 AM, Duncan <1i5t5.duncan@cox.net> wrote:
> Peter Stuge posted on Sun, 12 Aug 2012 02:12:38 +0200 as excerpted:
>>
>> What software parses the filesystem labels when you boot with openrc?
>>
>> (I ask because I never use labels myself.)
>
> Short answer, mount and udev, and the kernel directly when fed that
> information for root= on the kernel commandline.
>...
> It'a also worth noting that the kernel's root= line can take a number of
> these (I'm not sure if it can take them all), including partlabel,
> according to information someone posted on the btrfs list
I'm pretty sure that this particular part of your post is incorrect,
but I'd be happy to be corrected.
The kernel cannot interpret a root= parameter that doesn't reference a
device node that it can't internally generate (with a devtmpfs/etc).
I'm pretty sure that rules out just about anything but a physical
device (not even /dev/by-uuid/...).
I think that people get this confused because 99% of linux users have
an initramfs (and about 2% of Gentoo users it seems), and most
initramfs implementations DO interpret the root=parameter. If you
specify an initramfs then the kernel actually ignores the
root=parameter entirely, mounting the initramfs as root, and passing
control to its init. The initramfs is expected to mount root (or not
- you could just run the whole system off an initramfs I guess). Most
initramfs implementations just parse the root= line on the kernel,
although it is worth noting that genkernel's initramfs does not and
uses real_root instead.
So, I could see how many linux users might think that interpreting a
complex root= parameter is a kernel function, when it is really just
the fact that they use an initramfs.
If somebody is running with root=LABEL=foo or something like that
without an initramfs I'll happily stand corrected.
Rich
next prev parent reply other threads:[~2012-08-12 12:27 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 12:47 [gentoo-dev] Questions about SystemD and OpenRC Sylvain Alain
2012-08-07 13:17 ` Rich Freeman
2012-08-07 14:11 ` Peter Stuge
2012-08-07 14:43 ` Rich Freeman
2012-08-07 14:55 ` [gentoo-dev] Gentoo vs. upstream Peter Stuge
2012-08-07 15:33 ` [gentoo-dev] Questions about SystemD and OpenRC Sylvain Alain
2012-08-07 16:29 ` Michał Górny
2012-08-07 17:31 ` Michael Mol
2012-08-07 20:13 ` Michał Górny
2012-08-07 21:36 ` Dale
2012-08-08 2:21 ` Rich Freeman
2012-08-08 11:30 ` [gentoo-dev] " Duncan
2012-08-08 11:39 ` Peter Stuge
2012-08-08 10:55 ` Duncan
2012-08-08 11:06 ` Kent Fredric
2012-08-08 11:22 ` Peter Stuge
2012-08-08 11:47 ` Duncan
2012-08-08 20:27 ` [gentoo-dev] " Jason A. Donenfeld
2012-08-07 19:00 ` Olivier Crête
2012-08-09 8:42 ` Luca Barbato
2012-08-09 14:02 ` [gentoo-dev] pid 1 design Peter Stuge
2012-08-09 15:25 ` Rich Freeman
2012-08-09 16:00 ` Wyatt Epp
2012-08-09 17:13 ` Rich Freeman
2012-08-09 20:27 ` Peter Stuge
2012-08-09 20:37 ` Michał Górny
2012-08-09 20:45 ` Michael Mol
2012-08-09 20:56 ` Michał Górny
2012-08-10 1:32 ` heroxbd
2012-08-09 15:59 ` Luca Barbato
2012-08-09 17:29 ` William Hubbs
2012-08-09 17:30 ` William Hubbs
2012-08-09 20:48 ` Christopher Head
2012-08-10 4:52 ` [gentoo-dev] " Duncan
2012-08-09 18:12 ` [gentoo-dev] Questions about SystemD and OpenRC Olivier Crête
2012-08-09 18:31 ` William Hubbs
2012-08-09 18:41 ` Olivier Crête
2012-08-09 19:51 ` Rich Freeman
2012-08-09 18:53 ` Canek Peláez Valdés
2012-08-09 18:57 ` Ciaran McCreesh
2012-08-09 19:24 ` Canek Peláez Valdés
2012-08-09 19:47 ` Rich Freeman
2012-08-09 20:58 ` Canek Peláez Valdés
2012-08-09 21:14 ` Rich Freeman
2012-08-14 3:24 ` Greg KH
2012-08-14 10:31 ` Rich Freeman
2012-08-14 18:12 ` Canek Peláez Valdés
2012-08-14 19:14 ` Peter Stuge
2012-08-14 19:18 ` Luca Barbato
2012-08-15 10:27 ` Rich Freeman
2012-08-15 10:58 ` Michał Górny
2012-08-15 11:07 ` Fabian Groffen
2012-08-15 11:32 ` Rich Freeman
2012-08-15 11:41 ` Fabian Groffen
2012-08-15 11:50 ` Rich Freeman
2012-08-15 12:01 ` Fabian Groffen
2012-08-15 13:43 ` Rich Freeman
2012-08-15 14:04 ` [gentoo-dev] remove system set? Fabian Groffen
2012-08-16 12:05 ` Rich Freeman
2012-08-17 3:13 ` Doug Goldstein
2012-08-17 3:26 ` Michael Mol
2012-08-17 19:43 ` Gregory M. Turner
2012-08-17 20:10 ` Zac Medico
2012-08-18 1:03 ` Rich Freeman
2012-08-18 1:11 ` Michael Mol
2012-08-15 12:18 ` [gentoo-dev] Questions about SystemD and OpenRC William Hubbs
2012-08-15 18:21 ` [gentoo-dev] " Duncan
2012-08-15 19:18 ` Michael Mol
2012-08-15 19:26 ` Ciaran McCreesh
2012-08-15 19:50 ` Michael Mol
2012-08-16 11:59 ` Rich Freeman
2012-08-16 19:07 ` Zac Medico
2012-08-16 19:51 ` Gregory M. Turner
2012-08-16 20:05 ` Michael Mol
2012-08-17 1:26 ` Rich Freeman
2012-08-17 2:02 ` Michael Mol
2012-08-18 20:50 ` Gregory M. Turner
2012-08-09 19:02 ` [gentoo-dev] " Tomáš Pružina
2012-08-09 18:48 ` Ciaran McCreesh
2012-08-09 18:44 ` Canek Peláez Valdés
2012-08-09 19:54 ` Rich Freeman
2012-08-09 23:00 ` Walter Dnes
2012-08-09 23:10 ` Canek Peláez Valdés
2012-08-10 0:25 ` Peter Stuge
2012-08-10 2:43 ` Sylvain Alain
2012-08-09 23:12 ` Olivier Crête
2012-08-09 23:26 ` G.Wolfe Woodbury
2012-08-09 23:42 ` Rich Freeman
2012-08-09 23:26 ` Chí-Thanh Christopher Nguyễn
2012-08-10 5:32 ` [gentoo-dev] " Duncan
2012-08-09 19:43 ` [gentoo-dev] " Michał Górny
2012-08-09 20:30 ` Luca Barbato
2012-08-09 20:47 ` Michał Górny
2012-08-10 5:04 ` [gentoo-dev] " Duncan
2012-08-10 7:43 ` Michał Górny
2012-08-10 8:45 ` Luca Barbato
2012-08-10 11:22 ` Rich Freeman
2012-08-10 18:09 ` Duncan
2012-08-11 23:29 ` [gentoo-dev] " vivo75
2012-08-12 0:12 ` Peter Stuge
2012-08-12 9:43 ` [gentoo-dev] " Duncan
2012-08-12 12:25 ` Rich Freeman [this message]
2012-08-12 13:37 ` vivo75
2012-08-12 13:43 ` Chí-Thanh Christopher Nguyễn
2012-08-12 19:29 ` Duncan
2012-08-12 15:35 ` Mike Gilbert
2012-08-12 13:34 ` vivo75
2012-08-12 7:44 ` [gentoo-dev] " Michał Górny
2012-08-12 13:40 ` vivo75
2012-08-12 8:03 ` Samuli Suominen
2012-08-13 19:47 ` Christopher Head
2012-08-13 21:37 ` Michał Górny
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='CAGfcS_nadJGs9_y=p0cJ6uJs5_zD7N2dyh6PxZQr8=yNFKLhUg@mail.gmail.com' \
--to=rich0@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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