I am working on a desktop running on Ubuntu 16.04. I want to isolate the directories
/opt in separate partitions. Creating new partitions is fine.
At this moment, the fstab only mounts copies (say,
/media/opt) on the newly created partitions, so as to interfere with the ordinary course of things minimally.
At the point of editing the
/ect/fstab file, I became aware of the importance of setting an appropriate mount option field (the fourth field, indicated as
The naive evidence is:
defaultsas a mount option makes the rebooting of Ubuntu stall. After logging in, the greeter does not move on to the password request for the encrypted file system.
- On the contrary, if I copycat the option
nodev, nosuidfrom the option already set for
/home(indeed residing on an own partition), I do manage to access my desktop manager as usual.
However, I don't want to presume that this will be the best option when the new partitions have the real
/opt directories mounted on. For the example, the mount options for the current
/ directory are
errors=remount-ro. This option may well also be suitable also for any subdirectory moved out to an independent partition. I wish to avoid guesswork though.
The question is: what are the mount options for standalone
/opt such that the system performs like when they are subdirectories of