From: Michael Tokarev <mjt@tls.msk.ru>
To: "Thomas Bächler" <thomas@archlinux.org>
Cc: NeilBrown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: Re: [PATCH 1/2] Modernize udev rules
Date: Mon, 11 Feb 2013 14:16:17 +0400 [thread overview]
Message-ID: <5118C4F1.90203@msgid.tls.msk.ru> (raw)
In-Reply-To: <5118C3C0.2030708@archlinux.org>
11.02.2013 14:11, Thomas Bächler wrote:
> Am 11.02.2013 09:33, schrieb Michael Tokarev:
>> 11.02.2013 04:20, NeilBrown wrote:
>>> On Sat, 9 Feb 2013 18:48:38 +0100 Thomas Bächler
>>> <thomas@archlinux.org> wrote:
>>
>>>> -IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
>>>> +IMPORT{builtin}="blkid"
>>
>> Does this has additional udev version constrain?
>> I mean, which is the minimum udev version to support this properly,
>> do we care?
>
> Udev relies on devtmpfs and thus does not create devices since version
> 176, therefore $tempnode is deprecated and only $devnode should be used
> ($tempnode seems to be around for compatibility, no idea if/when it will
> be dropped).
>
> The blkid builtin is also available since udev 176. In latest
> util-linux, the 'blkid -o udev' output is marked as deprecated, although
> Karel says it's not entirely going away for now.
Thank you for the explanation.
> Why do we care? We want correct udev rules ($tempnode vs. $devnode), and
> the using builtin is faster and less error-prone than calling an
> external tool (plus, it is used everywhere else in udev).
>
> As for compatibility: I see no reason why anyone would use a version of
> udev that is more than one year old (175) together with a mdadm version
> that is to be released in the future (3.2.7). If someone really wants
> that, they should be competent enough to adjust the udev rules for their
> local build.
Well, it was just a question. Think about a distribution which is being
upgraded from one release to another, -- inter-package versioned dependencies
should be set correctly, so that the system will not be broken by upgrading
mdadm which relies on udev, but not upgrading udev. It's a good idea to
note somewhere that the next release of mdadm will require at least udev
175. That's about it.
Thank you!
/mjt
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-02-11 10:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 17:48 [PATCH 1/2] Modernize udev rules Thomas Bächler
2013-02-09 17:48 ` [PATCH 2/2] udev: Fix order of execution of the md rules Thomas Bächler
2013-02-09 20:49 ` [PATCHv2 " Thomas Bächler
2013-02-11 0:31 ` NeilBrown
2013-02-11 10:01 ` Thomas Bächler
2013-02-11 0:20 ` [PATCH 1/2] Modernize udev rules NeilBrown
2013-02-11 8:33 ` Michael Tokarev
2013-02-11 10:11 ` Thomas Bächler
2013-02-11 10:16 ` Michael Tokarev [this message]
2013-02-11 10:19 ` Thomas Bächler
2013-02-11 10:44 ` Dmitrijs Ledkovs
2013-02-11 10:48 ` Thomas Bächler
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=5118C4F1.90203@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=thomas@archlinux.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 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.