Validates update packages on attached devices, notifies HMI of pending updates, and initiates update process when requested by user.
swud -i client_id [-d] [-v] [-m module_path[=module_args]]*
The swud service detects manifest files stored on attached devices. When it finds a manifest file, swud validates this file along with the delta file named in it. If these files are valid, swud notifies the HMI, which can then display the pending update to the user. If either file is invalid (e.g., because of an incorrect base version), swud doesn't process the update further but logs an error to slogger and to the HMI.
When the user initiates the update through the HMI, swud copies the manifest file and the delta file from the attached device to /var/swud. Next, swud uses the partial-shutdown utility, downsize, to terminate all processes except those needed to apply the update. Finally, swud applies the software update based on the delta file contents.
You must provide a client ID when running swud, whether through SLM or the command line. The client ID is an alphanumeric string and is found in the SWU client configuration. You can optionally use the -m option to load modules and pass arguments to them. Also, you can run the service in the foreground for debugging purposes (by using -d), and enable different levels of verbosity by using between 1 and 7 -v options.