
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-10-29 07:40, Linda Walsh wrote:
Anton Aylward wrote:
On 10/27/2014 11:45 AM, Carlos E. R. wrote:
A systemd generation sysadmin will 'change state definition" and let the automounter do the unmount. --- Change it how? from the command line? in 1 command specifying the device?
Exactly! Editing fstab is not it.
As I keep saying, systemd is about DECLARATIVE not procedural management of the system. So long as the state tables, in this case /etc/fstab, DECLARE that the fs should be mounted, the automounter function will keep it mounted. That is the correct and expected behaviour. --- That is a bug and is not expected behavior. On *nix based systems, the files in fstab are mounted once. If you want automount behavior then put everything in /etc/auto.xxx, but don't try to change the established meaning of /etc/fstab.
We may also wish to mount again something that got momentarily off. But we need control over it. For example, you may have a rack of disks, where /srv/www/ is, and it loses power, then gets power back, so we may want the system to attempt fsck and mount of the devices back, posibly restarting apache, or telling apache about it, without us having to even be called. It is just an example, it may be nfs shares, samba, mail, whatever. But we need control of this, a versatile control. Like switches in fstab to mount automatically anytime, or only at boot, or never. Commands to manually umount a device anytime we want, regardless how it is defined in fstab, because we want to do it now for whatever reason.
What we have here is a paradigm shift.... --- No... it's broken behavior. /etc/fstab is not for automounted file systems. That's what /etc/auto.xxx is for.
Yes, currently it is broken. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlRQmJoACgkQtTMYHG2NR9XpgACfZGeC/enHn+tJ3+XTuoEgnJ4D RSgAnR6udfCRSJCrIMSgB1/vHp5PTAms =JnBr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org