[systemd-devel] Question about a udev rule
Robert Milasan
rmilasan at suse.com
Sun Dec 8 10:53:41 PST 2013
On Sun, 8 Dec 2013 19:30:45 +0100
"Martin Pitt" <martin.pitt at ubuntu.com> wrote:
> Robert Milasan [2013-12-08 19:14 +0100]:
> > IMPORT{program}="/usr/bin/udevadm info --export
> > --export-prefix=ROOT_ --device-id-of-file=/" ENV{MAJOR}!="0",
> > ENV{MAJOR}=="$env{ROOT_MAJOR}",
> ^
>
> For starters you seem to be missing a comma there.
>
Not really, it's a new line, just the mail client didn't do a good
job :)
Suppose to be:
IMPORT{program}="/usr/bin/udevadm info --export --export-prefix=ROOT_
--device-id-of-file=/"
ENV{MAJOR}!="0", ENV{MAJOR}=="$env{ROOT_MAJOR}",
ENV{MINOR}=="$env{ROOT_MINOR}", SYMLINK+="root
--
Robert Milasan
L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A
More information about the systemd-devel
mailing list