Ubuntu/Debian: List /opt and /usr/local

These might be of interest to people, just like /srv.  Also, /usr/local
requires an extra step for /usr (if you want to keep the 1:1 association
between dataset and filesystem paths).
Richard Laager 2019-02-15 05:03:54 -06:00
parent 133d411d95
commit ce8163046c
2 changed files with 14 additions and 0 deletions

@ -121,9 +121,16 @@ Properties are inherited, if you want to create (for example) `rpool/var/lib` yo
# zfs create rpool/var/spool
# zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp
If you use /opt on this system:
# zfs create rpool/opt
If you use /srv on this system:
# zfs create rpool/srv
If you use /usr/local on this system:
# zfs create -o canmount=off rpool/usr
# zfs create rpool/usr/local
If this system will have games installed:
# zfs create rpool/var/games

@ -142,9 +142,16 @@ With ZFS, it is not normally necessary to use a mount command (either `mount` or
# zfs create rpool/var/spool
# zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp
If you use /opt on this system:
# zfs create rpool/opt
If you use /srv on this system:
# zfs create rpool/srv
If you use /usr/local on this system:
# zfs create -o canmount=off rpool/usr
# zfs create rpool/usr/local
If this system will have games installed:
# zfs create rpool/var/games