Commit Graph

13 Commits (c02e24f8cebac6093014cb15aec2077495751a56)

Author SHA1 Message Date
Avi c62d7682a6
Add more debugging logs to the mounting process so we get more visibility for customer issues (#130) 2022-09-06 08:54:02 +02:00
Ben Linsay 21122235c7
allow passing open /dev/fuse file descriptors (#124)
allows passing open /dev/fuse file descriptors so that the FUSE process
can run fully unprivileged. uses the /dev/fd/N mountpoint format from
libfuse3.
2022-05-31 22:22:54 +02:00
Vitaliy Filippov c75d3f26fc
Use newer mounting method (similar to fusermount) with macfuse 4.x (#106)
macfuse 4.x turns out to be incompatible with the old mounting method where
you open the device by yourself and only supports the newer method where you
receive a file descriptor from `mount_macfuse` through a unix socket.

Co-authored-by: Vitaliy Filippov <vitalif@yourcmc.ru>
2021-10-19 18:50:09 +02:00
Michael Stapelberg b6e2754edf prefer fusermount3 (from FUSE 3), fall back to old fusermount
fixes #84
2020-04-23 21:10:43 +02:00
Ka-Hing Cheung ffe3eb03da
rw and ro were flipped (#80)
when user mount via fstab, we get '-o rw' implicitly, and under
directmount this _enabled_ MS_RDONLY, which is the opposite of what we
want

refs https://github.com/kahing/goofys/issues/483
2020-03-23 08:51:36 +01:00
kungf 7d791d27a2
make fstype be composed of "fuse" and subtype (#77)
fix #76
2020-03-11 09:51:26 +01:00
Michael Stapelberg 53aac50a1c open /dev/fuse in blocking mode so the runtime does not use a poller
/dev/fuse is not pollable. Go ≥ 1.13 starts reporting this on Read().
2019-09-19 08:50:12 +02:00
Michael Stapelberg b71377f287 try mounting without fusermount(1) first
This requires root privileges or the CAP_SYS_ADMIN capability, but allows
supporting -o suid.
2019-09-19 08:50:12 +02:00
Aaron Jacobs 2c0c70f477 Kill off silly fusermount screen scraping. 2016-02-29 02:47:56 +00:00
Aaron Jacobs e9529e8d36 Gave mount a makeover. 2015-07-24 16:18:07 +10:00
Aaron Jacobs ee57176a0b Trimmed a bit. 2015-07-24 16:10:54 +10:00
Aaron Jacobs bd9024064a Fixed the package name. 2015-07-24 16:10:49 +10:00
Aaron Jacobs 6a1e2f5502 Copied mount_linux.go. 2015-07-24 16:10:41 +10:00