[systemd-devel] Making "noauto" and "automount" independent

Lennart Poettering lennart at poettering.net
Fri Feb 18 14:21:29 PST 2011

On Fri, 18.02.11 14:45, Tom Gundersen (teg at jklm.no) wrote:

> There is a very easy fix: make automount, and noauto independent. The
> way things work now, automount implies noauto, but there is no reason
> it needs to be like this.

Yupp, we definitely should do this. In fact we initially thought of
using autofs this way. However I never thought of making this available
when using configuration in fstab, but you are definitely right we
should do this.

Added this to the TODO list.

> In other words, if /boot has options
> "noauto,comment=systemd.automount" it works the way it does now. If
> /home has options "comment=systemd.automount", without the "noauto",
> then the mount unit is pulled in by local-fs.target.

Yupp, I am sold!

> local-fs.target Wants/After boot.automount (like now)
> local-fs.target Wants/After home.automount (like now) and Wants home.mount (new)
> Thoughts?

Love it.


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list