Commit Graph

437 Commits

Author SHA1 Message Date
Nikolaus Rath 56d6030f9c Document hardlink limitation. 2017-06-20 16:39:16 -07:00
Nikolaus Rath 152617e53f Converted README from Markdown to Restructured Text. 2017-06-20 16:38:46 -07:00
Nikolaus Rath 0908f570dc Dropped obsolete FUSE 2.x #ifdefs 2017-06-20 11:29:19 -07:00
Nikolaus Rath 5bc9ff371d Added .dir-locals.el to setup correct indentation in Emacs 2017-06-19 15:18:11 -07:00
Nikolaus Rath 4379773a9e Updated mailing list information. 2017-06-08 16:53:26 -04:00
Nikolaus Rath 6056149d16 Fixed compiler warnings 2017-06-07 13:42:34 -04:00
Nikolaus Rath 53a14aeaf1 Dropped support for libfuse < 2.9
This is in preparation for the move to libfuse 3.0
2017-06-07 13:42:34 -04:00
Nikolaus Rath 8999210c93 Remove support for "all" workarounds
This should never be used. We may add new workarounds in the future,
and they should only be enabled explicitly when needed.
2017-06-06 16:45:15 -04:00
Nikolaus Rath 5ed2cf8a8b Add fstat workaround to help output. 2017-06-06 16:45:15 -04:00
Nikolaus Rath 9f2eb04371 Document rename workaround. 2017-06-06 16:45:15 -04:00
Nikolaus Rath 6c301e043b Dropped nodelaysrv workaround
The same effect (enabling NODELAY on the server side *and* enabling
X11 forwarding) can be achieved by explicitly passing `-o ForwardX11`
2017-06-06 16:45:15 -04:00
Nikolaus Rath 6d7ce1607a Added support for building with Meson. 2017-06-06 16:45:15 -04:00
Nikolaus Rath 5659d0d2ea Don't call g_thread_init()
No longer required since glib 2.32.
2017-06-06 11:03:14 -04:00
Nikolaus Rath fe3ce10ff8 Fixed compiler warning 2017-06-06 11:02:11 -04:00
Nikolaus Rath 132dd88755 Dropped nodelay workaround
This was a performance improvement for SSH versions prior to
4.4. There is no reason to continue to support this.
2017-06-06 11:01:21 -04:00
Nikolaus Rath af1f3c6235 Fixed Markdown markup. 2017-06-06 10:05:21 -04:00
Nikolaus Rath 8cc069f666 Reworked README
Now also includes mailing list.
2017-06-06 10:03:15 -04:00
Nikolaus Rath d7cb098f1d main(): setup signal handlers before connecting
Otherwise, aborting the password prompt with Ctrl+C will
also kill the sshfs process and leave the mountpoint inaccessible.

Fixes: #9.
2017-06-05 17:28:44 -04:00
Nikolaus Rath c7d8500634 Added changelog entry for commit d93f1. 2017-05-31 13:54:18 -07:00
Nikolaus Rath 2896aed825 Merge branch 'master' of github.com:libfuse/sshfs 2017-05-31 13:52:44 -07:00
tpoindessous 110163d8d1 Update README.md for macOS
On macOS, we don't have fusermount, so we use umount command.

Thanks.
2017-05-31 13:51:30 -07:00
Jakub Jelen d93f137c8f Update the missing options (that make sense from ssh_config) 2017-05-31 13:51:09 -07:00
Nikolaus Rath 1dbda31786 Released 2.9 2017-04-17 13:13:38 -07:00
Nikolaus Rath 33667f2a56 Fixed up version numbers in ChangeLog 2017-04-17 13:09:35 -07:00
Nikolaus Rath f627055bc7 Merge pull request #23 from billziss-gh/master
Port SSHFS to Cygwin
2017-01-12 14:57:45 -08:00
Bill Zissimopoulos efeed71295 remove no longer useful check for fsp_fuse_opt_parse from configure.ac 2017-01-12 11:24:08 -08:00
Nikolaus Rath 96c6138978 Merge pull request #38 from BerserkerTroll/master
sshfs.1.in: remove duplicate "slave" option description
2016-12-30 11:07:57 -08:00
Berserker 1afaef8f46 sshfs.1.in: remove duplicate "slave" option description 2016-12-30 20:52:47 +03:00
Nikolaus Rath e5acfce8ed Merge pull request #27 from benesch/master
Remove call to g_slice_set_config()
2016-07-28 16:22:16 -07:00
Benjamin Fleischer e178150a72
Remove call to g_slice_set_config()
It is unclear why G_SLICE_CONFIG_ALWAYS_MALLOC has been set before but
doing so with the latest version of GLib (2.46.2) results in the
following warning:

GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed

This fixes issue osxfuse/sshfs#17
2016-07-28 12:25:37 -04:00
Nikolaus Rath c63acf3dd7 Merge pull request #24 from kuscsik/master
Makefile: fix path for sshfs.1
2016-07-01 15:09:32 -04:00
Zoltan Kuscsik e3cd445a4e Makefile: fix path for sshfs.1
Fix source path when build directory differs
from the source dir.
2016-07-01 09:30:31 +02:00
Nikolaus Rath 1167c11901 Merge pull request #20 from rianhunter/master
Require paths for truncate/fstat workarounds
2016-06-23 12:10:11 -04:00
Bill Zissimopoulos a175c2876a port sshfs to cygwin 2016-06-22 17:02:30 -07:00
Nikolaus Rath b2fa759358 Released 2.8 2016-06-22 11:38:53 -07:00
Nikolaus Rath 1756abe6fd Fixed release year of version 2.7 2016-06-22 11:37:40 -07:00
Rian Hunter f51d7b0c6a Require paths for truncate/fstat workarounds
Commit 74bfa3850a allowed sshfs to run
without requiring a non-NULL path argument for certain
operations. This was erroneous in the case of using certain
workarounds.
2016-06-06 00:12:42 -07:00
Nikolaus Rath df10d96ac2 Add extra quoting for increased compatibility.
Fixes: #15.
2016-06-05 14:18:49 -04:00
Nikolaus Rath a2dda962c4 Merge branch 'rianhunter-master' 2016-06-05 14:15:52 -04:00
Nikolaus Rath 504e26f938 Added ChangeLog entry for fsync extension 2016-06-05 14:15:36 -04:00
Rian Hunter 74bfa3850a Support the lack of paths when cache is off
Before FUSE 2.9, FUSE had to emulate unlink() if a file was still open
via renaming to a hidden file.  This was due to the requirement that a
valid "path" argument must be submitted for many FUSE operations. FUSE
2.9 introduced the flag_nullpath_ok and flag_nopath flags that allow a
FUSE file system to signal to FUSE that the "path" argument may be NULL
in certain operations.

sshfs doesn't require paths if the cache isn't used so communicate
that information to the FUSE layer.
2016-06-01 23:27:01 -07:00
Rian Hunter 0f6f33b1b4 Implement support for "fsync@openssh.com"
OpenSSH implements fsync() via the extension "fsync@openssh.com". This
change uses that extension when receiving a FUSE fsync request.
2016-06-01 22:34:36 -07:00
Nikolaus Rath a9a1cc0046 Released 2.7 2016-03-01 08:49:53 -08:00
Nikolaus Rath b5983a0ce8 Merge pull request #8 from gapan/master
Restore FAQ file
2016-02-25 08:52:49 -08:00
George Vlahavas adc55c9d2b Restore FAQ file
This commit restores the FAQ file present in sshfs versions up to 2.5.
Changes since the version in the 2.5 release:
 - Remove most wiki markup
 - Edit question about bug reports to point to the Github issue tracker
 - Remove unanswered questions
 - Minor formatting
2016-02-25 15:10:50 +02:00
Nikolaus Rath 451f2075f2 Merge pull request #6 from jmmv/cache-options
Make cache parameters configurable
2016-02-16 10:47:06 -08:00
Julio Merino 391f676705 Explicitly qualify unsigned as unsigned int 2016-02-10 23:18:35 -05:00
Julio Merino c1e799b4da Expose the cache clean interval settings as flags
Allow the user to customize the cache regular and minimum clean intervals
as flags via the new cache_clean_interval and cache_min_clean_interval
options.

While doing this, rename the internal variables and constants to suffix
them with their unit (seconds).
2016-02-10 23:18:35 -05:00
Julio Merino ebfeebd468 Expose the maximum cache size setting as a flag
Allow the user to customize the size of the sshfs cache by adding a new
max_cache_size flag and turning the hardcoded constant into a variable.
2016-02-10 23:18:35 -05:00
Julio Merino d1ddbbcae5 Qualify timeout identifiers with their unit
All timeouts are in seconds, so add a suffix to the identifier names to
clearly denote the unit.
2016-02-10 23:18:35 -05:00