Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.11 KB

INSTALL_NetBSD.md

File metadata and controls

38 lines (22 loc) · 1.11 KB

NetBSD

pkg_add -u zip unzip libzip fuse-unionfs perfuse bash wget tmux lynx

U=https://github.com/christophgil/ZIPsFS/archive/refs/heads/main.zip
wget -N $U && unzip -o main.zip &&  ZIPsFS-main/src/ZIPsFS.compile.sh

TroubleShooting

Problem running as normal user.

Running ZIPsFS as root worked well. Normally, ZIPsFS will not run as root unless the option -r is given. However, we could not run ZIPsFS as a normal user because of acceess failure for /dev/puffs. We added the user to group wheel and did

chmod go+rw /dev/puffs

without success.

Related: https://minux.hu/mounting-webdav-under-netbsd-unprivileged-user

Please tell me your solutions to this problem.

Problem finding shared libraries

Shared libs libzip and libfuse were not found. This could be fixed with

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/pkg/lib

Problems with FUSE

One might first check whether FUSE works by testing fuse-unionfs. The following will mount /etc onto ~/mnt/test-unionfs. This test may be performed as a normal user or as ROOT.

m=~/mnt/test-unionfs/ unionfs-fuse /etc=RO $m ls $m