1 Use the following instructions to build AFS modifications into the kernel on an IRIX system.
3 1. Copy the kernel initialization file afs.sm to the local /var/sysgen/system directory, and the kernel master file afs to the local /var/sysgen/master.d directory.
5 # cp -p bin/afs.sm /var/sysgen/system
7 # cp -p bin/afs /var/sysgen/master.d
9 1. Copy the appropriate AFS kernel library file to the local file /var/sysgen/boot/afs.a; the IPxx portion of the library file name must match the value previously returned by the uname -m command. Also choose the file appropriate to whether the machine's kernel supports NFS server functionality (NFS must be supported for the machine to act as an NFS/AFS Translator). Single- and multiprocessor machines use the same library file.
11 If the machine's kernel supports NFS server functionality:
13 # cp -p bin/libafs.IPxx.a /var/sysgen/boot/afs.a
15 If the machine's kernel does not support NFS server functionality:
17 # cp -p bin/libafs.IPxx.nonfs.a /var/sysgen/boot/afs.a
19 1. Issue the chkconfig command to deactivate the afsml configuration variable.
21 # /etc/chkconfig -f afsml off
23 If the machine is to function as an NFS/AFS Translator and the kernel supports NFS server functionality, activate the afsxnfs variable.
25 # /etc/chkconfig -f afsxnfs on
27 1. Copy the existing kernel file, /unix, to a safe location. Compile the new kernel, which is created in the file /unix.install. It overwrites the existing /unix file when the machine reboots in the next step.
29 # cp /unix /unix_noafs
33 1. Reboot the machine to start using the new kernel, and login again as the superuser root.
40 Password: root_password