shithub: riscv

Download patch

ref: 577a9f763f0535391ef3190ea8214a4e420717af
parent: 93063b3db02b3e8b446c56bd28fc3317a3ccf804
author: google <google@daverabbitz.ath.cx>
date: Thu Sep 6 09:15:59 EDT 2012

Prevent nusb/disk and nusb/kb from blocking nusbrc

--- a/sys/src/9/boot/nusbrc
+++ b/sys/src/9/boot/nusbrc
@@ -10,11 +10,11 @@
 	fn attach {
 		switch($4){
 		case *03
-			nusb/kb $1
+			nusb/kb $1 &
 		case *08
-			nusb/disk $1
 			@{
 				rfork ne
+				nusb/disk $1
 				cd '#σ/usb'
 				for(dev in sdU^$1.*) if(test -d $dev) {
 					diskparts $dev
--