Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/cpu-update/readme

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


A patch for /sys/src/cmd/cpu.c

This patch is designed to be upper compatible to current cpu.c

1. execution local binary
cpu -c localcommand
exits.

now perm bit of /dev/cpunote is 664
writing some message to /dev/cpunote will terminate exportfs
(we should restrict the message such as "finished", but I am lazy)


2. grid capable
now "user" is taken from /dev/user
and the user's home and profile is assigned as follows:
(using rc notation)

if (! test -e /usr/$user)
	home=/usr/none
if (! test -e $home/lib/profile)
	bind /usr/none $home

thus grid user will execute /usr/none/lib/profile

3. added some log information

4. tiny bug fix for usage message
-p to -P

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