Design a workstation storing multiple users' personal files.
Keep user data in a separate filesystem so it can be retained during an OS reinstall.
Which mount point is appropriate to separate?
Making /home a separate filesystem keeps normal users' data apart from the root and operating-system areas.
Detailed explanation
/etcIncorrect. /etc stores system configuration, not users' personal files.
Incorrect. /etc stores system configuration, not users' personal files.
/homeCorrect. A separate /home filesystem preserves user data independently of the OS filesystem.
Correct. A separate /home filesystem preserves user data independently of the OS filesystem.
/devIncorrect. /dev contains device nodes.
Incorrect. /dev contains device nodes.
/runIncorrect. /run contains transient runtime state.
Incorrect. /run contains transient runtime state.
Try it yourself
An example you can run in a temporary verification environment.
findmnt /home 2>/dev/null || findmnt /Expected result
/home専用マウント、またはルートファイルシステム内にあることを示す表示Key points
- /home contains user data
- Separate it during reinstall
- It can also be a backup boundary
Notes
- Environment: Linux / FHS・util-linux findmnt
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.