summaryrefslogtreecommitdiffstats
path: root/src/cmd/9pfuse
Commit message (Collapse)AuthorAgeFilesLines
* all: remove need for `-fcommon`Dan Cross2025-07-251-1/+0
| | | | | | | | | | Use `extern` where appropriate so that we can remove `-fcommon` on macOS and others. On macOS, `-fcommon` generates a number of linker warnings. I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD and illumos. I am not in a position to test on AIX or other more esoteric platforms, however.
* 9pfuse: support MacFUSE >=4Connor Taffe2021-01-311-1/+30
| | | | | | MacFUSE 4 removes support for passing device fd to the mount command. Adds support for the receiving the fd over a socket instead, and updates command paths and filesystem name.
* libthread: add threadmaybackgroundRuss Cox2020-12-301-0/+6
| | | | | | | | Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.
* 9pfuse: update errortabOleg Nemanov2020-01-151-0/+2
|
* 9pfuse: do not fswalk("..")Russ Cox2020-01-131-12/+5
| | | | | | | f is open, so walk will fail. The comments say we only need one directory anyway. Fixes #277.
* cmd/9pfuse: ignore FMODE_EXEC open flagNicola Girardi2020-01-131-2/+11
| | | | | | | | | Improved error message in case of unexpected open flags. The message unexpected open flags requested=0100040 unhandled=040 prompted me to clear the FMODE_EXEC flag, although I wonder if I shouldn't have set OEXEC (0x3) instead.
* Trivial changes: whitespace and modes.Dan Cross2020-01-103-61/+60
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* mount, 9pfuse: detect macports installed osxfuseXiao-Yong Jin2018-03-271-0/+8
| | | | MacPorts installs osxfuse under /opt/local.
* 9pfuse: retries read(3) upon EINTRXiao-Yong Jin2018-03-231-2/+5
| | | | | read(3) sometimes errors with EINTR on macOS over slow connections. 9pfuse(1) now retries read(3) instead of sysfatal(3)ing.
* 9pfuse: fix handling of access mode (thanks Kenji Arisawa)David du Colombier2018-02-051-1/+3
| | | | Fixes #81.
* 9pfuse: support osxfuse>=3.3.0James Porter2017-02-101-7/+28
| | | | | | | Change-Id: Ibca68261016b0f588e169e9f319748b5ba7d15ac Reviewed-on: https://plan9port-review.googlesource.com/2700 Reviewed-by: michaelian ennis <michaelian.ennis@gmail.com> Reviewed-by: Russ Cox <rsc@swtch.com>
* 9pfuse: Disable glibc workaround for O_LARGEFILE on ARMMerlijn Wajer2014-12-021-1/+4
| | | | | | | | | | | 9pfuse fails on ARM when O_LARGEFILE is supported. glibc does define O_LARGEFILE properly on ARM, and the value is different than what that this workaround suggests, causing it to wrongly detect bad flags. Change-Id: I02b0cc222ca7785c4b1739c3df3caa17cf7bc265 Reviewed-on: https://plan9port-review.googlesource.com/1094 Reviewed-by: Russ Cox <rsc@swtch.com>
* 9pfuse: fix memory leak, avoid memory explosionTies Bos2012-09-101-2/+11
| | | | | | | | Change is to handle FUSE_FORGET in main loop instead of separate thread for each as 10s of thousands can come in at once. Fixes issue 104. R=0intro, rsc http://codereview.appspot.com/6498081
* 9pfuse: osxfuse supportRuss Cox2012-09-081-8/+16
| | | | | R=rsc http://codereview.appspot.com/6503093
* semicolons!Russ Cox2011-10-071-2/+2
|
* 9pfuse: handle two more flagsRuss Cox2011-10-051-1/+8
|
* devdraw: update Lion cocoaDavid Jeannot2011-09-192-8/+1
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5015042
* mergeRuss Cox2009-06-161-3/+3
|
* 9pfuse: fix mkfile for people without . in their pathsRuss Cox2009-05-171-1/+1
|
* mergeRuss Cox2009-04-303-2/+16
|
* 9pfuse: clear O_EXCL tooRuss Cox2009-04-301-1/+1
|
* MacFUSE 2.0 updatesJeff Sickel2008-12-101-3/+6
|
* 9pfuse: allow O_APPEND in open and create (Roman Shaposhnik)Russ Cox2008-12-301-1/+8
|
* updates to support current MacFUSEJeff Sickel2008-08-193-10/+134
|
* 9pfuse: ignore write errors on fusefdRuss Cox2008-07-241-4/+2
| | | | | FUSE makes a reply write fail if the reply is no longer wanted.
* 9pfuse: convert "invalid" to EINVALRuss Cox2008-07-241-0/+1
|
* 9pfuse: always return . and ..Russ Cox2008-07-041-3/+28
|
* 9pfuse: better handling of SETXATTR (sqweek)Russ Cox2008-07-041-5/+8
|
* 9pfuse: add symlink supportRuss Cox2008-07-041-1/+30
|
* 9pfuse: "fix" O_LARGEFILE on x86_64 linux (sqweek)Russ Cox2008-06-191-5/+14
|
* 9pfuse: bug fix in error caseRuss Cox2008-05-051-0/+1
|
* 9pfuse: accept - for stdin, try to hang up cleanlyRuss Cox2008-04-172-4/+21
|
* 9pfuse: use intptr to silence 64-bit warning (Michael Teichgräber)Russ Cox2008-03-061-1/+1
|
* mergeRuss Cox2007-11-272-6/+24
|
* mergeRuss Cox2007-08-221-1/+3
|
* add -a anamersc2007-06-211-6/+10
|
* more macfuse path nonsensersc2007-06-201-0/+7
|
* Unswap perm and omode in fsfcreate call (Michael Teichgräber)rsc2007-05-091-1/+1
|
* Better flag handling in fusecreate (Michael Teichgräber)rsc2007-05-091-0/+2
|
* propagate offset in reads and writes (Michael Teichgräber)rsc2007-05-041-2/+2
|
* google moved the fusefs.kext pathrsc2007-01-241-3/+10
|
* Minor FUSE bug fixes (found mount_fusefs!)rsc2007-01-181-1/+2
|
* Mac FUSE support (thanks to Jeff Sickel)rsc2007-01-181-0/+49
|
* avoid EPROTO in case not there (Tim Wiess)rsc2006-10-121-0/+4
|
* break from readdir properly (Lou Kamenov)rsc2006-08-011-14/+16
|
* free fuse messagesrsc2006-08-011-1/+8
|
* use better O_LARGEFILErsc2006-07-271-0/+4
|
* wait for mount to complete before exitingrsc2006-07-273-2/+12
|
* FreeBSD fixes (Lou Kamenov)rsc2006-07-262-51/+97
|
* add stat.hrsc2006-07-231-0/+1
|