Am 14.05.2017 um 11:36 schrieb Guus Sliepen:

> Another option is to explicitly add a dependency on the network for a
> given mount point in /etc/fstab, see the systemd.mount manpage.
> Basically, the following should work:
> 
> /dev/etherd/...  /mountpoint  ext4 x-systemd.requires=network-online.target  
> 0  2

To mark as mountpoint as network mount, there is the _netdev mount
option. See man systemd.mount. systemd tries to autodetect that for
various network file systems

https://github.com/systemd/systemd/blob/master/src/fstab-generator/fstab-generator.c#L164

https://github.com/systemd/systemd/blob/master/src/basic/mount-util.c#L516



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to