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).
parent
133d411d95
commit
ce8163046c
|
@ -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 rpool/var/spool
|
||||||
# zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp
|
# 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:
|
If you use /srv on this system:
|
||||||
# zfs create rpool/srv
|
# 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:
|
If this system will have games installed:
|
||||||
# zfs create rpool/var/games
|
# 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 rpool/var/spool
|
||||||
# zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp
|
# 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:
|
If you use /srv on this system:
|
||||||
# zfs create rpool/srv
|
# 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:
|
If this system will have games installed:
|
||||||
# zfs create rpool/var/games
|
# zfs create rpool/var/games
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue