[systemd-devel] Mount files in systemd

Tom Gundersen teg at jklm.no
Thu May 17 12:01:12 PDT 2012


On Thu, May 17, 2012 at 8:28 PM, g4hx <g4hx at gmx.de> wrote:
> On 05/17/2012 08:19 PM, Tom Gundersen wrote:
>> There should be no need to use .mount units, just continue using
>> /etc/fstab as before.
>
> Well, I have tried doing that, but if I don't use .mount files with
> correct dependencies, the device files are sometimes not yet created
> when systemd tries to mount them, so the mounts fail.

This should not happen. Systemd should never try to mount an fs before
the underlying device is ready.

You can check the generated orderings by using "systemctl show
media-storage-backup.mount" (when it is in fstab and not as a mount
unit).

-t


More information about the systemd-devel mailing list