it-artikel:linux:how-to-mount-home-from-another-already-mounted-drive-or-volume-for-better-snaps-support
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | it-artikel:linux:how-to-mount-home-from-another-already-mounted-drive-or-volume-for-better-snaps-support [2022-08-31 12:30] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to mount home from another already mounted drive or volume for better snaps support ====== | ||
+ | ===== Something historic ===== | ||
+ | |||
+ | " | ||
+ | |||
+ | Some users have their **/home** on a separate partition and simply " | ||
+ | |||
+ | I personally prefer to have and maintain one or more large data volumes and put my **/home/** directory there, so all users share the same storage space. Until lately i approached that using a very old method of " | ||
+ | |||
+ | The solution to this problem are "bind mounts" | ||
+ | |||
+ | ===== Solution: "bind mount" /home ===== | ||
+ | |||
+ | Today any great Linux distro should be able to support "bind mounts" | ||
+ | |||
+ | Instead of mounting " | ||
+ | |||
+ | < | ||
+ | mount --verbose --bind / | ||
+ | </ | ||
+ | |||
+ | Or if we prefer using **/ | ||
+ | |||
+ | <file fstab / | ||
+ | ... | ||
+ | |||
+ | # | ||
+ | # put this at the very end of the fstab file | ||
+ | # after all system and data volumes has been | ||
+ | # mounted properly. | ||
+ | # | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | {{tag> |
it-artikel/linux/how-to-mount-home-from-another-already-mounted-drive-or-volume-for-better-snaps-support.txt · Last modified: 2022-08-31 12:30 by 127.0.0.1