FreeBSD 上安裝 htop 的問題
問題1:
htop(1) requires linprocfs(5) to be mounted. If you don’t
have it mounted already, please add this line to /etc/fstab
and run `mount linproc`:
linproc /compat/linux/proc linprocfs rw 0 0
問題2:
mount: /usr/compat/linux: No such file or directory
解決:
- mkdir -p /usr/compat/linux/proc
- echo "linproc /compat/linux/proc linprocfs rw 0 0" >> /etc/fstab
- mount linproc
- cd /usr/ports/sysutils/htop
- make install clean