shithub: riscv

Download patch

ref: f0084afefa334fb2e905017c5b4eda6b23e77ec3
parent: 9efcce402b4c7b16b86bfd612fa35ea0d536da2b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri May 26 17:33:17 EDT 2023

fshalt: until sd* drivers get fixed (in a calm manner) only unconfigure nvme drives

--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -31,7 +31,7 @@
 
 c=`{ls /srv/cwfs*cmd >[2]/dev/null}
 h=`{ls /srv/hjfs*cmd >[2]/dev/null}
-s=`{awk '/^sd./ {print substr($1,3,1)}' <'#S/sdctl' >[2]/dev/null}
+s=`{awk '/^sd./ && /nvme/ {print substr($1,3,1)}' <'#S/sdctl' >[2]/dev/null}
 
 # for scram, don't scram other systems
 bind -b '#P' /dev >[2]/dev/null