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