You are not logged in.
After a cup of coffe, planning a new system, I've came to conclusion that it'd be logical to split the filesystem hierarchy into 3 partitions (to reserve free space for groups of them rather than for each one):
1. bin, sbin, lib, etc, root.
2. usr, opt
3. var, tmp, home
How do I best achieve this? The only idea came into my mind is putting opt inside usr and creating /opt as a symlink to /usr/opt, with home and tmp placed same way inside var. Is it a good idea or not?
BTW I use LVM2 for everything except /boot and I only use /home as a place for user-specific programs' settings files, all the data of mine (projects, downloads, etc) is stored on a separate partition.
Last edited by StrangeAttractor (2010-07-16 23:15:36)
Offline
So / would be a union mount of the three partitions?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
So / would be a union mount of the three partitions?
Yes, if it is called so. Now, it is of 2 (/home and everything else).
Offline
plan 9 union mounts!
aufs might be able to pull this off... it certainly won't be pretty... Keep in mind that you need a bunch of directories to be available immediately on mounting /, so they all need to be on the same partition. I don't know all of them offhand (sbin, bin, lib, etc, root, ...), but it's likely somewhere in the Beginner's Guide or the Official Install Guide on the wiki.
Last edited by falconindy (2010-07-17 04:05:19)
Offline
plan 9 union mounts!
aufs might be able to pull this off...
Why would I need all that? Why not keep it simple and just use the solution I've offered (some symlinks)?
Last edited by StrangeAttractor (2010-07-17 07:31:55)
Offline
Symlinks should work just fine, at least for /home I have used this approach in the past. I don't see a reason why it shouldn't work for the other directories.
My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP
Offline