Use ''sysrc'' instead of ''echo'' or heredocs for ''rc.conf'' modifications

sysrc setting="value"

Better top

nice top -j -P -S -z -I -t
top -j -S -u -b -w -q -a

Reinstall Port

make deinstall install clean

Add Disk and move ezjail Jails

camcontrol devlist
gpart show da1
gpart create -s GPT da1
gpart add -t freebsd-ufs -a 1M da1
newfs -U /dev/da1p1
mkdir /data
gpart show da1
vim /etc/fstab
mount /data
service ezjail stop
mkdir -p /data/usr/jails
time rsync -aP /usr/jails /data/usr/
vim /etc/fstab.jail_1
vim /etc/fstab.jail_n
vim /usr/local/etc/ezjail.conf
vim /usr/local/etc/ezjail/jail_1
vim /usr/local/etc/ezjail/jail_n
mv /usr/jails{,_old}
service ezjail start

Memory Usage

  • unix/freebsd.txt
  • Last modified: 2019-10-09T20:43:43+0200
  • by Wolfgang