On Mi, 22 iul 20, 16:26:24, Jonathan Dowland wrote: > On Wed, Jul 22, 2020 at 07:38:54AM -0400, Greg Wooledge wrote: > > Apparently this unit refers to the root file system. I have no idea > > why it's masked for you, but that's where I'd start looking. > > Yes. Unfortunately Systemd decided to forbid '/' in unit names,
Seriously? Could you please show me how would I create a file on *nix containing '/' in the name? > and also to map all mounts to units. What's wrong with that? > '/' gets remapped to '-', which is otherwise > forbidden. Using '-' to mean '/' allows mount units to have friendly names like media-data.mount (the mount unit must be named according to the mount point). > You therefore end up with abominations like this, > > /dev/disk/by-uuid/e0eed9b6-03f1-41ed-80a4-c7cc4ff013c3 => > dev-disk-by\x2duuid-e0eed9b6\x2d03f1\x2d41ed\x2d80a4\x2dc7cc4ff013c3.device I will argue that UUIDs are not really meant for human consumption anyway, so the damage done is reduced. There is also 'systemd-escape' to help with conversions. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature