git: 9front

Download patch

ref: 9a4719e9203c6e9d4def0da3a3d3b3f43d58213e
parent: fb500d60415597c276cbf418d3f7ca2cae94d259
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
--