Package: wnpp
Owner: Salvatore Bonaccorso <car...@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

* Package name    : squashfs-mount
  Version         : 1.0.0
  Upstream Author : Ben Cumming <bcumm...@cscs.ch> Simon Pintarelli 
<simon.pintare...@cscs.ch> Harmen Stoppels <harmenstopp...@gmail.com>
* URL             : https://github.com/eth-cscs/squashfs-mount
* License         : BSD-3-clause
  Programming Lang: C
  Description     : setuid utility instead of FUSE for mounting squashfs files

squashfs-mount is a small setuid binary that effectively runs

mount -n -o loop,nosuid,nodev,ro -t squashfs [image] [mountpoint]

in a mount namespace and then executes the given command as the
invoking user.

squashfs-mount is used within the CSCS and the motivation for this utility is
described in the upstream README.

1. Bad performance compared to the Linux kernel. Using a 700MB gzip compressed
squashfs file containing GCC, the time to build a subset (2k targets) of LLVM
14.0.5:

    squashfs-mount: 8m 9.52s;
    squashfuse 0.1.103 / fuse 3.9.0: 12m 49.00s.

squashfuse has about 57% overhead compiling LLVM.

2. Inconvenient when scripting.

Reply via email to