code: 9ferno

Download patch

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

go to the root before unmounting

--- a/dis/shutdown
+++ b/dis/shutdown
@@ -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 && {