From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] udev - small script optimization
Date: Tue, 13 Jan 2004 18:42:52 +0000 [thread overview]
Message-ID: <20040113184252.GB3169@kroah.com> (raw)
In-Reply-To: <20040113035015.GA9989@vrfy.org>
On Tue, Jan 13, 2004 at 04:50:15AM +0100, Kay Sievers wrote:
> Optimize the scripts reflecting the now more powerful rule logic,
> cause we can combine all known fields now in any order:
>
> The ide-devfs.sh is only executed if the kernel name matches with 'hd*':
>
> BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%1c %2c"
>
> The name_cdrom.pl is only executed for ide and scsi devices, but not for a partition.
> It exits with nonzero to skip the rule if the CD is not found:
>
> KERNEL="[hs]d[a-z]", PROGRAM="name_cdrom.pl %M %m", NAME="%1c", SYMLINK="cdrom"
>
>
> I'm happy for today, this was my last patch. :)
Heh, nice work. Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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
next prev parent reply other threads:[~2004-01-13 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 3:50 [PATCH] udev - small script optimization Kay Sievers
2004-01-13 18:42 ` Greg KH [this message]
2004-01-13 19:27 ` Martin Hicks
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=20040113184252.GB3169@kroah.com \
--to=greg@kroah.com \
--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).