Show Table of Contents
13.2.2. Formatting and Labeling the Partition
To format and label the partition use the following procedure:
Procedure 13.2. Format and label the partition
- The partition still does not have a file system. To create one use the following command:
# /sbin/mkfs -t ext3 /dev/sda6Warning
Formatting the partition permanently destroys any data that currently exists on the partition. - Next, give the file system on the partition a label. For example, if the file system on the new partition is
/dev/sda6and you want to label it/work, use:# e2label /dev/sda6 /work
By default, the installation program uses the mount point of the partition as the label to make sure the label is unique. You can use any label you want.
Afterwards, create a mount point (e.g.
/work) as root.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.