From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200007132043.QAA11368@smtp3.fas.harvard.edu> To: migieger@vsnl.com, 9fans@cse.psu.edu Subject: Re: [9fans] plan9v3 won't start (PBS...Bad format or I/O error) From: "Russ Cox" Date: Thu, 13 Jul 2000 16:43:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: db17cba2-eac8-11e9-9e20-41e7f4b1d025 If it installed its own MBR there should be MBR... before PBS... You may need pbslba instead of pbs. That is, disk/format -b /386/pbslba /dev/sdC0/plan9 Or maybe you already have pbslba and you need pbs disk/format -b /386/pbs /dev/sdC0/plan9 (it will just install a boot sector, not format). And something more: is it possible to use history and command completion with rc? Not really. I like this command (which Tom Killian introduced me to) a lot though: g% cat /usr/rsc/bin/rc/" #!/bin/rc { if(test -r /mnt/acme/acme/body) cat /mnt/acme/acme/body if not cat /dev/text } | grep '^[^ ]*%[ ]*'$1 | {echo; cat} | pr -t -n | sort -u +1 | sort -n | sed 's/^ *[0-9]+ //' | grep . # the silly {echo; cat} gets around pr printing "empty file" when # presented with no input. g% It prints all commands in the current window that begin with the given string. For example, it prints the two lines marked with >>> in the following. g% cat /usr/rsc/bin/rc/" ... g% cat /adm/users ... g% " cat >>> g% cat /usr/rsc/bin/rc/" >>> g% cat /adm/users g% Russ