Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/term/update

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc -e
# update - update disk for booting(8)

fn usage {
	echo >[1=2] usage: update disk
	exit usage
}

if (~ $#* 0)
	usage

kernel=`{awk -F'=' '/^kernel=/{print $NF}' dos/config.txt}
disk/format -d -c 32 -l boot $1/dos README dos/* /arm/$kernel
exit ''

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].