[systemd-devel] systemd and archlinux: questions

Lennart Poettering lennart at poettering.net
Sun May 9 13:57:04 PDT 2010


On Sun, 09.05.10 22:42, Marius O (marius at habarnam.ro) wrote:

> > Every local mount in /etc/fstab will be added as a dependency to
> > local-fs.target, and every remote mount to remote-fs.target.
> 
> "Will be added" or "Should be added" ? Because as it is now, with
> vanilla local-fs.target I don't even get a / mounted properly, ie.
> it's mounted readonly.

*Will* be added. There are a number of special units in systemd. And
local-fs.target and remote-fs.target are two of them: everything in
/etc/fstab is added to one of the two. The other special units are
listed in manager.h. One of those days we should document them all and
in which way they are special.

systemd only tracks mounts as a binary thing for the dependency tree,
i.e. mounted XOR unmounted. There is no distinction between rdwr and
ro. If you want remount / during bootupt then write a service for it
that simply calls "/bin/mount / -o rw,remount" or so.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the systemd-devel mailing list