Showecmode - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

5. Configuring Software Environment
$ sudo ecmodeset -enable
Set next boot: Maintenance mode
$
The following is displayed when normal mode is set as the next OS start mode.
$ sudo ecmodeset -disable
Set next boot: Normal mode
$
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒24: List of
ecmodeset command error messages below shows error messages that are output when an error is detected.
Table 5‒24: List of ecmodeset command error messages
No.
1
Usage: ecmodeset [ -enable | -
disable ]
2
Failed to set next boot:
Maintenance mode
3
Failed to set next boot:
Normal mode
5.18.2 showecmode
<Name>
showecmode - Display the OS operation mode.
<Format>

showecmode

<Description>
This command displays the current OS startup mode and the next OS startup mode.
<Display format>
Current
: OS-startup-mode
Next
: OS-startup-mode
Notes
• If normal mode is set, Normal mode is displayed.
• If maintenance mode is set, Maintenance mode is displayed.
If an attempt to collect information failed, Unknown is displayed. If Unknown is displayed, a fault is likely
to exist in the SSD. In this case, replace the unit.
<Options>
No options need to be specified. Any specified options are ignored.
<Display example>
The command displays the current OS startup mode and the next OS startup mode.
The following shows an example of when the current mode is maintenance mode and the next startup mode is
normal mode.
$ sudo showecmode
Current
: Normal mode
Next
: Maintenance mode
$
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected.
An error message is not output.
106
Error message
Description
The specified argument is invalid.
An attempt to set maintenance mode failed.
An attempt to set normal mode failed.

Advertisement

Table of Contents
loading

Table of Contents