On Wed, 28.01.15 12:06, Martin Pitt ([email protected]) wrote: > I. e. the .mount does not seem to be bound on the .device, and isn't > taken down automatically (stopping the mount manually works fine). In > "show" I don't see a BindsTo, and the Requires also doesn't mention > the /dev/sr1 device:
Hmm, yeah, we apparently only add that for file systems listed in /etc/fstab... If you change the "get_mount_parameters_fragment()" invocation at the beginning of mount_add_device_links() in src/core/mount.c to "get_mount_parameters()", does this make things work for you? This change might have more effects than just making this work, but I think it's the right thing to do. Could you test please? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
