0

Reinstalled Ubuntu on a new disk, and thought that instead storing my stuff in /home, I plan to attach my old home drive as a directory and basically replace my xdg-folders with simlinks of the old directories on the old drive.

Here is the mount options for that drive: Mount Options

are these settings good? The only thing I've removed from the mount options is x-gvfs-show which made the file system appear as a mountable drive in the dash and Nautilus (which I didn't wanted), I've also changed the filesystem type from auto to ext4 since that's the correct format of that file system.

Any thoughts? I'm also curious if the /mnt is good for permanently mounting that drive in.

Negirno
  • 163

2 Answers2

0

According to the FHS, /mnt is used for manual mounts. While you can mount it anywhere, if you want to follow convention, you would mount the drive to a folder in /media. This is where Ubuntu by default will place secondary drives at install time.

You however, according to this answer anything mounted from /mnt will not appear there so you may be inclined to break this convention.

Drives that are listed in /etc/fstab will also reside in /media. As for your mounting options, the defaults are okay.

Potential Answer

mikeymop
  • 861
  • 2
  • 7
  • 18
0

The location /mnt is meant for manual, temporary mounts. The location /media is used for automatic, temporary mounts.

Permanent mounts can be mounted anywhere and you should put them where the contents should be. The Linux filesystem is meant to hide such “implementation details” like the physical location of data.

So if your disk is meant to contain videos, mount it under /home/<user>/videos. If it is meant to hold webpages, mount it under /var/www. And so on.

I won’t comment the options you selected. If they work, just keep them. If not, correct them or possibly ask a specific question.

References

Melebius
  • 11,750