[systemd-devel] [PATCH 1/2] rules: storage - whitelist partitioned MS & MMC devices

Mantas Mikulėnas grawity at gmail.com
Mon Mar 23 00:55:30 PDT 2015


On Tue, Mar 17, 2015 at 11:50 PM, Kay Sievers <kay at vrfy.org> wrote:

> On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas <grawity at gmail.com>
> wrote:
> > Accidentally dropped in 1aff20687f4868575.
> > ---
> >  rules/60-persistent-storage.rules | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> > +KERNEL!="loop*|mmcblk[0-9]*|mspblk[0-9]*|nvme*|sd*|sr*|vd*",
> GOTO="persistent_storage_end"
>
> We can't do that, we need to ignore the mmc*rpmb devices:
>
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=b87b01cf83947f467f3c46d9831cd67955fc46b9
>
> Maybe "mmcblk*[0-9]" will work?
>

Yeah, that would probably work (the names are like mmcblk0p1 etc.)

~ On a related note, is it intentional that all these rules are limited to
a single digit?

-- 
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150323/4c378c3c/attachment.html>


More information about the systemd-devel mailing list