Article 5DN2X New laptop with SSD and HDD (not hybrid). Confused about /etc/fstab and mount points.

New laptop with SSD and HDD (not hybrid). Confused about /etc/fstab and mount points.

by
globetrotterdk
from LinuxQuestions.org on (#5DN2X)
I just install Fedora 33 Cinnamon on a Lenovo Legion laptop. In the installer, I set up my SSD for my system (root and home) and my HDD as /data. My /etc/fstab looks as follows for the /data partition:

Code:/dev/disk/by-uuid/xxxxxx-xxxxx-xxxxx-xxxxxxx-xxxxxxxx /home/user/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0As I have no experience with this, I used Disks to modify the mount options. Does this look OK? I am mainly asking because some of the threads I have read talk about making a directory

Code:$ sudo mkdir -p /home/user/Data/However, the system appears to have done this automatically for me.

This is the second time that I have done this. The first time, I had created a folder for the mount point with some random text files in a directory, but that no longer existed the second time, despite the files and directory having been saved to the HDD (I assume). I obviously don't want this happening when I think that I can rely on the data being on the HDD. I of course backup my data, but I don't want to have to do it twenty times a day...latest?d=yIl2AUoC8zA latest?i=7hPXDiSHQxw:N_ppNKhndS4:F7zBnMy latest?i=7hPXDiSHQxw:N_ppNKhndS4:V_sGLiP latest?d=qj6IDK7rITs latest?i=7hPXDiSHQxw:N_ppNKhndS4:gIN9vFw7hPXDiSHQxw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments