[systemd-devel] Requirements for successful mounting of RootImage?

Lennart Poettering lennart at poettering.net
Mon Jul 31 13:51:18 UTC 2017


On So, 30.07.17 13:58, Topi Miettinen (toiwoton at gmail.com) wrote:

> Hey,
> 
> I have this test.service unit:
> [Unit]
> 
> [Install]
> WantedBy=multi-user.target
> 
> [Service]
> Type=oneshot
> ExecStart=/bin/ls -lR
> RootImage=/fs
> MountAPIVFS=no

btw, just to mention that, if you want to quickly test something like
this, you can also use:

# systemd-run -p RootImage=/fs /bin/ls -lR

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list