Hitachi CE50-10 Instruction Manual page 73

Table of Contents

Advertisement

(a) Dividing the user area
Use the gdisk command to divide the user area (create partitions). For details about the procedure, see (2) Creating
partitions, (3) Displaying partitions, and (4) Deleting partitions in 5.11.3 Setting up the user area.
(b) Creating a file system
Create a file system by using the mkfs command.
<Format>
mkfs -t ext4 device
<Options>
• -t ext4
Specifies the file system type.
• device
Specify the device name of the partition in which the file system is to be created.
<Display example>
The device name of the partition is /dev/sda8 and the partition is formatted with ext4.
$ sudo mkfs -t ext4 /dev/sda8
(c) Changing the operation parameter for file system check
Even if the file system is not damaged, file system check is forcibly performed when a predefined period has passed
since the last check date and time. Considering the influence of the check operation on the OS start time, disable the
file system check that is triggered by the elapsed time in this unit.
<Format>
tune2fs -c 0 -i 0 device
<Options>
• -c 0
Specifies the number of times the file system is to be checked. Specify 0 to disable the check.
• -i 0
Specifies the interval for checking the file system. Specify 0 to disable the check.
• device
Specify the device name of the partition in which the file system is to be created.
<Display example>
$ sudo tune2fs -c 0 -i 0 device
(d) Specifying user area mount settings
If you want to automatically mount the user area when the OS starts, use the application area mount function. For
details, see (5) Specifying the definition to automatically mount the application area in 5.11.3 Setting up the user
area.
(2) Creating partitions
To create partitions:
1. Start the gdisk command with /dev/sda specified for the argument.
$ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: not present
BSD: not present
APM: not present
5. Configuring Software Environment
57

Advertisement

Table of Contents
loading

Table of Contents