Put jail’s /tmp to memory

1. Settings

iocage set allow_mount_tmpfs=1 jailname
iocage set allow_mount=1 jailname
iocage set enforce_statfs=1 jailname

2. in Jail’s /etc/rc.conf

tmpmfs="YES"
tmpsize="100m"
tmpmfs_flags="-S"
时间:2022/07/21
/
浏览:181 Views views
/
分类:FreeBSD
/