From: Matthias Schwarzott <zzam@gentoo.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Matching something against an environment-variable
Date: Mon, 30 Apr 2007 14:09:13 +0000 [thread overview]
Message-ID: <200704301609.13405.zzam@gentoo.org> (raw)
In-Reply-To: <200704271339.04976.zzam@gentoo.org>
On Montag, 30. April 2007, Kay Sievers wrote:
>
> Why don't you write out a 50-rootdev.rules file before starting udevd?
> So you don't need to import anything, or match on globel variables:
> SUBSYSTEM="block", ENV{MAJOR}="8", ENV{MINOR}="5", SYMLINK+="root"
>
The problem here is: udev is started before root filesystem is remounted R/W.
At least two solutions to that:
A. Add a symlink in /etc/udev/rules.d/ pointing to somewhere in /dev/.udev/ or
on any other tmpfs location. And create the file there.
B. Adding some file-inclusion command to udev rule language.
Matthias
--
Matthias Schwarzott (zzam)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2007-04-30 14:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-27 11:39 Matching something against an environment-variable Matthias Schwarzott
2007-04-30 13:43 ` Kay Sievers
2007-04-30 14:06 ` Andrey Borzenkov
2007-04-30 14:09 ` Matthias Schwarzott [this message]
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=200704301609.13405.zzam@gentoo.org \
--to=zzam@gentoo.org \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).