Michael Biebl wrote... > To mark as mountpoint as network mount, there is the _netdev mount > option.
While I can confirm this provides a sane and safe shutdown for a mounted AoE-device, this works only if the device was initially mounted using that extra option. A later "mount -o remount,_netdev" exits zero but does not change /proc/mounts, hence resulting in havoc. If you could shed some light on this? > 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 As a suggestion (probably too late for stretch), an extension of that check could inspect the device name as well, to detect AoE, NBD and even iSCSI devices - the latter probably needs some extra magic. Christoph
signature.asc
Description: Digital signature