Greetings all,
The installation of FreeBSD 11.1 created the following zfs system:
I would like to use tmpfs(5). Do I remove the zroot/tmp and create an /etc/fstab entry as follows:
What if I wanted all the temporary files, e.g., the zroot/var/tmp to use the tmpfs(5)?
Kindest regards,
M
The installation of FreeBSD 11.1 created the following zfs system:
Code:
zfs list
NAME USED AVAIL REFER MOUNTPOINT
bootpool 128M 1.73G 128M /bootpool
zroot 301M 219G 88K /zroot
zroot/ROOT 299M 219G 88K none
zroot/ROOT/default 299M 219G 299M /
zroot/tmp 88K 219G 88K /tmp
zroot/usr 352K 219G 88K /usr
zroot/usr/home 88K 219G 88K /usr/home
zroot/usr/ports 88K 219G 88K /usr/ports
zroot/usr/src 88K 219G 88K /usr/src
zroot/var 620K 219G 88K /var
zroot/var/audit 88K 219G 88K /var/audit
zroot/var/crash 88K 219G 88K /var/crash
zroot/var/log 180K 219G 180K /var/log
zroot/var/mail 88K 219G 88K /var/mail
zroot/var/tmp 88K 219G 88K /var/tmp
Code:
# Device Mountpoint FStype Options Dump Pass#
tmpfs /tmp tmpfs rw,mode=01777 0 0
Kindest regards,
M