From 961c605a7c17c35908c2e652e795928087a07992 Mon Sep 17 00:00:00 2001 From: aiju Date: Sun, 17 Apr 2011 20:34:22 +0200 Subject: [PATCH 1/3] made lc -F default --- rc/bin/lc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/bin/lc b/rc/bin/lc index d09832552..acdd93c13 100755 --- a/rc/bin/lc +++ b/rc/bin/lc @@ -1,2 +1,2 @@ #!/bin/rc -ls -p $* | mc +ls -pF $* | mc From 39b26c79b8b9b74585898bf7a06b72fb6781a8a8 Mon Sep 17 00:00:00 2001 From: aiju Date: Sun, 17 Apr 2011 21:01:12 +0200 Subject: [PATCH 2/3] updated ns(1) manpage --- sys/man/1/ns | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/man/1/ns b/sys/man/1/ns index b62398abc..bbbe728bb 100644 --- a/sys/man/1/ns +++ b/sys/man/1/ns @@ -42,3 +42,5 @@ flag suppresses this rewriting. The names of files printed by .I ns will be inaccurate if a file or directory it includes has been renamed. + +The name of this tool is reminiscent of national socialism and nextstep, it's hard to decide which one is worse. From 55a28480b2ca7ca66dbd6e3e626f74221bf6c392 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Sun, 17 Apr 2011 20:19:18 +0000 Subject: [PATCH 3/3] usb drives won't match sd??. use sd[A-Z][0-9]* instead. --- sys/src/9/boot/bootrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc index 2e2355a63..0d7f9d205 100644 --- a/sys/src/9/boot/bootrc +++ b/sys/src/9/boot/bootrc @@ -56,7 +56,7 @@ fn kbmap{ fn readmethod{ echo echo Storage devices - for(i in /dev/sd??){ + for(i in /dev/sd[A-Z][0-9]*){ echo -n local!^$i' ' echo `{sed 's/inquiry[ ]+//g; q' $i/ctl}\ partitions: `{cat $i/ctl | grep part | awk '{print $2}'}