Andrei Borzenkov [2015-01-16 19:32 +0300]: > If I as user do "systemctl stop /dev/pts" I expect it to > unmount /dev/pts not fake "dead" state.
Well, not all such commands can be expected to do something useful. Stopping mounts which the system depends on is going to break it, so trying to "systemctl stop -- -.mount" is rightfully refused already, while unmounting other things like /dev/pts will just eventually break your system anyway. Personally I think that Stephane's second patch was just about the right compromise: http://lists.freedesktop.org/archives/systemd-devel/attachments/20150115/f56f60ce/attachment-0001.patch It is reasonably future-proof (unlike the first patch) and avoids the problem you mentioned too, i. e. silently not doing operations while they appear to be successful. @Lennart: We now have three patches -- could you make an executive decision which one we take? :-) Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel