[systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

Tom Gundersen teg at jklm.no
Wed Jan 2 09:21:36 PST 2013


On Wed, Jan 2, 2013 at 1:44 PM, John Lane <systemd at jelmail.com> wrote:
> I think the problem is how systemd names the generated mount units. If there
> is a clash, could it not
> use a modified name for the unit (e.g if /run/systemd/generator/images.mount
> exists it would create /run/systemd/generator/images-1.mount or something
> like that) ?

Note that that particular naming scheme would not work. Check out the
escaping logic in systemd.unit(5).

-t


More information about the systemd-devel mailing list