Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2007/0409

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


% cat >/sys/lib/dist/changes/1176152406.0.txt << EOF
More sanity tests to ensure that $sysname isn't a string that rc is going
to choke on. Suggested by dho after reviewing 0407.
EOF
 [geoff] --rwxrwxr-x M 60 geoff sys 559 Apr  9 16:41 rc/bin/diskparts
	/n/sourcesdump/2007/0408/plan9/rc/bin/diskparts:16,20 - 
	/n/sources/plan9/rc/bin/diskparts:16,21
	  sysname=`{cat /dev/sysname}
	  
	  # set up any fs(3) partitions
	- if (~ $#sysname 1 && test -r /cfg/$sysname/fsconfig && test -w /dev/fs/ctl)
	+ if (~ $#sysname 1 && ! ~ $sysname '' &&
	+     test -r /cfg/$sysname/fsconfig && test -w /dev/fs/ctl)
	  	read -m /cfg/$sysname/fsconfig >/dev/fs/ctl


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].