Installation guide
4: SRA Design Tips and Restrictions
DC 900-1325I 61
What this menu item does is copy all of the files in the operational directory (/tmp/boot)
back to the non-volatile storage directory (
/usr/local/freeway/boot.src) in one action. This
saves you from having to type BSD commands to mount the
/usr partition as read-write
and manually copy each file to non-volatile storage. At this point you normally would
want to reboot the Freeway server so that it will use the updated files.
Note that since the 5-3-3 method only copies existing files, it cannot be used to delete
files in the non-volatile storage area. For example, if you used FTP or the BSD shell to
delete the file
/tmp/boot/oldfile.txt and then used the 5-3-3 method, the file oldfile.txt
would still return to the
/tmp/boot directory after the next reboot. In order to perma-
nently delete files from the
/tmp/boot directory, you must use the BSD shell to delete the
files directly from the non-volatile storage area as follows:
cd /usr/local/freeway/boot.src
ls -l oldfile.txt
-rw-r--r-- 1 root wheel 63 Mar 25 16:13 oldfile.txt
mount -u -o rw /usr
rm oldfile.txt
ls -l oldfile.txt
ls: oldfile.txt: No such file or directory
mount -u -o ro /usr
After the next reboot, the file oldfile.txt will no longer appear in the /tmp/boot directory.
4.2.3 CDROM Updates
Another way of updating files on the Freeway server is to create an ordinary (non-boot-
able) CDROM disk containing a text file called command.sh in the root directory. This
file can contain “sh” script commands similar to commands you use when logged into
the BSD shell. The Freeway server will execute the commands in this file at the end of
the boot-up sequence. You can use these commands to do anything you want, including
making changes to configuration files. When using this method to update files in the
operational directory (
/tmp/boot), your commands must update the same files in the
non-volatile storage directory (
/usr/local/freeway/boot.src) in order to make the changes
permanent.