Make users' home directories easier to preserve independently during an OS reinstall.
Assume backups are also maintained separately.
Which directory is a candidate for its own filesystem?
A separate /home filesystem separates user files and personal configuration from the OS lifecycle, but it is not a substitute for backups.
Detailed explanation
/runIncorrect. /run stores temporary runtime data.
Incorrect. /run stores temporary runtime data.
/procIncorrect. /proc is a virtual process and kernel-state filesystem.
Incorrect. /proc is a virtual process and kernel-state filesystem.
/sysIncorrect. /sys exposes kernel objects and devices.
Incorrect. /sys exposes kernel objects and devices.
/homeCorrect. /home contains ordinary user files and settings.
Correct. /home contains ordinary user files and settings.
Try it yourself
An example you can run in a temporary verification environment.
findmnt -no TARGET,SOURCE,FSTYPE /home 2>/dev/null || printf '%s
' '/home may be part of /'Expected result
現在環境の/homeの配置。独立ファイルシステムでない場合もあるKey points
- /home holds user data
- It can be separated from the OS
- Backups are still required
Notes
- Environment: FHSに沿うLinux / 読み取り確認
- 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.