Hitachi CE50-10 Instruction Manual page 131

Table of Contents

Advertisement

<Options>
• -h, --help
Displays the help message.
• -p, --print
Displays the OS version and partition number of the system area to be started next (default).
• -s, --switch
Changes the system area to be started next. This setting takes effect on and after the next startup.
• -e {2,3}, --enable {2,3}
Starts the partition of the specified partition number (2 or 3) the next time and later.
<Execution example>
• -s option
$ sudo rxosenable
OS(01-01 [01]) is enabled. (/dev/sda2)
$ sudo rxosenable -s
switch done
$ sudo rxosenable
OS(01-02 [01]) is enabled. (/dev/sda3)
$
• -e option
$ sudo rxosenable
OS(01-01 [01]) is enabled. (/dev/sda2)
$ sudo rxosenable -e 3
enable done
$ sudo rxosenable
OS(01-02 [01]) is enabled. (/dev/sda3)
$
• -h option
$ sudo rxosenable -help
usage: rxosenable [-h] [-p | -s | -e {2,3}]
optional arguments:
-h, --help
-p, --print
-s, --switch
-e {2,3}, --enable {2,3}
$
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒32: List of
rxosenable command error messages below shows error messages that are output when an error is detected.
Table 5‒32: List of rxosenable command error messages
No.
Error message
1
usage: rxosenable [-h] [-p | -
s | -e {2,3}] rxosenable:
error: unrecognized arguments:
xxx
2
usage: rxosenable [-h] [-p | -
s | -e {2,3}]rxosenable:
error: argument -e/--enable:
invalid choice: XX (choose
from 2, 3)
show this help message and exit
Print enabled-OS version(default)
Switch the active-partition
Enable the partition 2/3
The specified argument (xxx) is invalid.
The specified partition number (XX) is invalid. Specify 2 or 3.
5. Configuring Software Environment
Description
115

Advertisement

Table of Contents
loading

Table of Contents