[systemd-devel] systemd.mount questions

Kay Sievers kay at vrfy.org
Mon Jul 29 05:59:09 PDT 2013

On Mon, Jul 29, 2013 at 1:39 PM, lux-integ <lux-integ at btconnect.com> wrote:
> I am attempting to learn how to use systemd.  I read the man page on
> systemd.mount
> (  http://www.freedesktop.org/software/systemd/man/systemd.mount.html )
> and I have two questions
> 1:  say you want to mount proc, sys, run, dev, devpts, tmpfs
> do you need multiple systemd.mount files  (1 for each)  or can one file do and
> if so how so?

Systemd mounts these unconditionally, none of them need to be specified.

An fstab entry will remount them to apply custom options, but they are
always mounted.

> 2.  I   did not see an option for passing the --no-mtab (-n ) option when
> calling mount.
>  ( http://linux.die.net/man/8/mount )
> So  when using systemd.mount  how is the  --no-mtab option inserted?

mtab as a regular file is not supported at all. Systemd requires mtab
to be a symlink to /proc. Tthere is no need to pass that option on
systemd systems.


More information about the systemd-devel mailing list