[systemd-devel] [systemd-commits] rules/60-persistent-storage.rules

Martin Pitt martin.pitt at ubuntu.com
Fri Feb 13 07:20:30 PST 2015


Hey Zbigniew,

Zbigniew Jędrzejewski-Szmek [2015-02-13 15:49 +0100]:
> >  # by-path (parent device path)
> >  ENV{DEVTYPE}=="disk", DEVPATH!="*/virtual/*", IMPORT{builtin}="path_id"
> > -ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}"
> > +ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL=="mmcblk[0-9]*rpmb", SYMLINK+="disk/
> This looks wrong. Shouldn't there be a "|" in the middle?

No, there shouldn't; the devices we want to filter out are indeed
called e. g. /dev/mmcblk0rpmb. Note that this particular hunk went
away in http://cgit.freedesktop.org/systemd/systemd/commit/?id=0c13be389fae
but the principle in that commit is the same.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list