[systemd-devel] [bug] Unable to mount by LABEL containing a '/'

Dave Reisner d at falconindy.com
Mon Aug 20 08:36:42 PDT 2012

Hey all,

Had a bug reported by a user who has an /etc/fstab setup by LABEL, with
the only quirk being that all his FS labels contain slashes. This all
fails at bootup because systemd seems to vary in how it escapes the
slash. I can reproduce this on a VM with a device labelled 'foo/bar'. A
full dump is available [1], but the relevant bits seem to be:


Shouldn't these be the same device file? The WantedBy appears to be the
correct escaping, but the BindsTo looks to be escaping the path with
unit-name escaping rather than hex escapes to match the udev node.


[1] http://sprunge.us/cRdO

More information about the systemd-devel mailing list