December 2018
Beginner
826 pages
22h 54m
English
Our fstab currently looks like this:
$ cat /etc/fstab ## /etc/fstab# Created by anaconda on Sat May 12 18:50:26 2018## Accessible filesystems, by reference, are maintained under '/dev/disk'# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info#/dev/mapper/VolGroup00-LogVol00 / xfs defaults 0 0UUID=570897ca-e759-4c81-90cf-389da6eee4cc /boot xfs defaults 0 0/dev/mapper/VolGroup00-LogVol01 swap swap defaults 0 0
We're going to add another line to the bottom, prompting our /dev/sdb1 partition to mount as /home. First, we're going to get the partition's UUID, because we do not want our sdb device to suddenly come up as sdc and break our boot:
$ ls -l /dev/disk/by-uuid/ | grep sdblrwxrwxrwx. 1 root root 10 Sep 15 06:45 ...