shithub: 9ferno

Download patch

ref: 4b1093d70969ef29131ab66874197ffd8799903b
parent: 6dce09cec3bf6a689fa9a3f838df67d7d48d9d1a
author: joe9 <joe9mail@gmail.com>
date: Fri Jul 30 14:48:33 EDT 2021

go to the root before unmounting

--- a/dis/shutdown	Fri Jul 30 13:25:13 2021
+++ b/dis/shutdown	Fri Jul 30 14:48:33 2021
@@ -5,6 +5,7 @@
 	echo usage: shutdown -h or shutdown -r >[1=2];
 	exit usage
 }
+cd /
 # the following is a bit pointless until kfs has halt
 #	but, the sync will atleast write out all the dirty blocks
 ftest -f /dis/disk/kfscmd.dis && {