Using a fstab
file we can mounting and linking an extra partition in an elegant way. To adding the partition on fstab
file, you need to find the correct UUID from the partition you want to add.
List the by-uuid file for finding out:
$ ls -lh /dev/disk/by-uuid
lrwxrwxrwx 1 root root 842db29e-56d8-4ccf-b857-44e039bb065f -> ../../sda1
lrwxrwxrwx 1 root root f57a0952-0a96-4140-8aa1-b2df924e3389 -> ../../sdb1