Demonstrate some examples of using FUSE.
FUSE (Filesystem in Userspace) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. FUSE also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.
# show packages for fuse
apt search fuse
# check fuse
modprobe fuse
# download a filesystem we can put in an iso
mkdir -p ./download
curl -o ./download/alpine-minirootfs-3.17.3-x86_64.tar.gz https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/x86_64/alpine-minirootfs-3.17.3-x86_64.tar.gz
tar --strip-components=1 --directory=./download/ -xzvf ./download/alpine-minirootfs-3.17.3-x86_64.tar.gz
sudo apt install mkisofs
mkisofs -o test.iso ./download
# install
sudo apt install fuseiso
man fuseiso
# mount
mkdir -p ./mountediso
fuseiso ./test.iso ./mountediso
ls mountediso
mount
# cleanup
fusermount3 -u ./mountediso
ls mountediso
mount