Debian/Ubuntu: Make /var/spool a legacy mount

I ran into trouble on boot where /var/spool/rsyslog was being created
before this mounted.
Richard Laager 2019-03-17 21:05:05 -05:00
parent 912c4f3783
commit 6768bf710b
2 changed files with 6 additions and 0 deletions

@ -263,6 +263,9 @@ Install GRUB to the disk(s), not the partition(s).
# zfs set mountpoint=legacy rpool/var/log
# echo rpool/var/log /var/log zfs nodev,relatime 0 0 >> /etc/fstab
# zfs set mountpoint=legacy rpool/var/spool
# echo rpool/var/spool /var/spool zfs nodev,relatime 0 0 >> /etc/fstab
If you created a /var/tmp dataset:
# zfs set mountpoint=legacy rpool/var/tmp
# echo rpool/var/tmp /var/tmp zfs nodev,relatime 0 0 >> /etc/fstab

@ -323,6 +323,9 @@ Install GRUB to the disk(s), not the partition(s).
# zfs set mountpoint=legacy rpool/var/log
# echo rpool/var/log /var/log zfs nodev,relatime 0 0 >> /etc/fstab
# zfs set mountpoint=legacy rpool/var/spool
# echo rpool/var/spool /var/spool zfs nodev,relatime 0 0 >> /etc/fstab
If you created a /var/tmp dataset:
# zfs set mountpoint=legacy rpool/var/tmp
# echo rpool/var/tmp /var/tmp zfs nodev,relatime 0 0 >> /etc/fstab