aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_hp.cc
diff options
context:
space:
mode:
authorGeorgi Valkov <gvalkov@gmail.com>2025-06-15 15:34:57 +0300
committerBernd Schubert <bernd@bsbernd.com>2025-06-17 22:20:31 +0200
commit3793b1748ad151c8043dee1db198fffa3dbb5a67 (patch)
tree81e6feed31e07875cb72a4d570d52bd28db0cc68 /example/passthrough_hp.cc
parentf4c5d20772145c02f8e78176ae9d6cb6f60c6cfa (diff)
downloadlibfuse-3793b1748ad151c8043dee1db198fffa3dbb5a67.tar.gz
mount_util.c: check if utab exists before update
Do not attempt to update /run/mount/utab if it doesn't exist. Note: if this path ever changes, utab updates will break. Fixes the following error when mounting iPhone using ifuse: ifuse /mnt --container com.httpstorm.httpstorm mount: mounting ifuse on /mnt failed: Invalid argument On OpenWRT by default mount-utils is not installed and utab does not exist. /bin/mount is a symlink to /bin/busybox and does not support updating of utab. If mount-utils is installed: /run/mount/ exists, but does not contain utab. The mount-utils instance is under /usr/bin/mount, so a hard-coded call to /bin/mount will still fail. Using /usr/bin/mount succeeds but does not create utab. [1] https://github.com/libfuse/libfuse/pull/1247 Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Diffstat (limited to 'example/passthrough_hp.cc')
0 files changed, 0 insertions, 0 deletions