13.2.2. Formatting and Labeling the Partition
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/sda6
WarningFormatting 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
# e2label /dev/sda6 /work
/work) as root.