Am 18.05.2017 um 10:32 schrieb Christoph Biedl:
> 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.

That sounds like a reasonable request if those mount points can be
detected reliably.
Would you mind filing an upstream bug report that at
https://github.com/systemd/systemd/issues

I personally have no experience with AoE

Regards,
Michael


-- 
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