要刪除 jails 首先要取消唯讀的狀態,在建立 jails 的時候,會將一些系統檔案設定成唯讀的狀態,即使 root 也沒辦法刪除,所以要利用 chflags 來取消唯讀。
# cd /home/jails # chflags -R noschg * # rm -rf *
查看詳細資訊: