老同学从外地发来短信,说刚执行过umount -a,系统不正常了,问咋办?
我看了man手册
-a All of the file systems described in /etc/mtab are unmounted.嘿,我就纳闷了,这小子没事umount -a干什么啊。他把所用的分区(估计很有可能包括/)都卸载了,想干什么。
(With umount version 2.7 and later: the proc filesystem is not
unmounted.)
最后告诉他,重启一下是没问题的。其实可以不用重启,对照/etc/fstab,把umount的分区在重新mount上,只是短信发起来太长,也就没有再说。
结局:阿拉发短信问,什么时候过来玩?估计后面没说的一句是——我请你吃饭。嘿嘿。