Show Table of Contents
13.2.3. Add to /etc/fstab
As root, edit the
/etc/fstab
file to include the new partition using the partition's UUID. Use the command blkid -o list
for a complete list of the partition's UUID, or blkid device
for individual device details.
The first column should contain
UUID=
followed by the file system's UUID. The second column should contain the mount point for the new partition, and the next column should be the file system type (for example, ext3 or swap). If you need more information about the format, read the man page with the command man fstab
.
If the fourth column is the word
defaults
, the partition is mounted at boot time. To mount the partition without rebooting, as root, type the command:
mount /work
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.