Usage: update-node | [OPTION]... -run |
Options:
-r, | -run | This argument must be given to run the script |
-c, | -clean | Removes files/directories in /ram not in the config |
-d, | -dryrun | Shows updates without making them |
-cf, | -config=FILE | Specify alternate configuration file |
-q, | -quiet | Suppress output |
The update-node script performs a very similar
function as the boot-time script, rc.preinit. It updates all
the files and directories configured in /etc/sysimage.conf
that reside in the oneSIS RAM disk mounted on
/ram. It will also resize the RAM disk if necessary.
If any new RAM* or LINK* directives are added to the configuration, running update-node on all nodes will ensure that their RAM disk is consistent with the new configuration.
To remove files and directories in /ram that are no longer specified in the config, the -clean option must be given to update-node. However, it is recommended to clean files no longer in the config without destroying useful data that may be stored in a RAMDIR or LINKDIR. To protect such directories from having useful data destroyed by an `update-node -clean' operation, a -p flag can be added to the configuration directive: