summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendnfs.c
Commit message (Collapse)AuthorAgeFilesLines
* daemon: Set filesystem::use-preview explicitlyAntónio Fernandes2021-01-221-0/+3
| | | | | | | It can be correctly implied from the value of filesystem::remote for many backends, but let's make it explicit for them too. Fixes https://gitlab.gnome.org/GNOME/gvfs/-/issues/497
* nfs: Don't set a content-type that isn't certainBastien Nocera2019-10-111-2/+4
| | | | | | Don't ignore the result_uncertain flag from g_content_type_guess() as it might cause nautilus to incorrectly think that a particular file is of a certain type, and never check its magic.
* daemon: Use "Operation not supported" consistentlyMayank Sharma2019-03-211-3/+3
| | | | | | | | | GVfs uses different forms of "Operation not supported" string, e.g. "Operation unsupported", "Operation not supported by backend". Let's use "Operation not supported" consistently as this is also used in GLib. https://gitlab.gnome.org/GNOME/gvfs/issues/170
* Remove workaround for directory / folder iconswip/rishi/issue-2Debarshi Ray2018-08-141-14/+2
| | | | https://gitlab.gnome.org/GNOME/gvfs/issues/2
* Add missing casts for g_object_refOndrej Holy2018-02-081-1/+1
| | | | | g_object_ref() currently propagates parameter type to its return value, so type casts needs to be added in order to prevent compiler warnings.
* nfs: Add support for setting libnfs log levelOndrej Holy2016-11-221-2/+11
| | | | | | | | Add GVFS_NFS_DEBUG environment variable for controlling libnfs log level. libnfs doesn't contain a lot of debug prints, however, it might be useful in the future... Bump libnfs version accordingly.
* Use Unicode in translatable stringsPiotr Drąg2016-10-031-2/+2
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772219
* daemon: Set G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attributeOndrej Holy2016-06-281-0/+2
| | | | | | | Mark all network-based backends as remote. This is useful to remove some hardcoded lists of filesystem types in GTK+. Bump required GLib version accordingly.
* nfs: Handle NULL hostnameRoss Lagerwall2015-03-081-0/+7
| | | | Return an error if the hostname is NULL rather than crashing.
* Add an nfs backend based on libnfsRoss Lagerwall2015-02-091-0/+2579
Add an nfs backend based on libnfs to make userspace mounting and usage of nfs shares easier. The backend is written in a single-threaded, asynchronous style. Performance measurements show around 60-70 MiB/s throughput on 1GbE. To make use of it, simply mount the share with gvfs-mount or Nautilus with the following syntax: nfs://host/export/path Authentication is simple, based on UNIX uid. Since this is a userspace nfs client, it comes with the caveat that the mount needs to be exported with "insecure" on Linux (or some equivalent for other NFS servers) so that it allows connections from port numbers higher than 1023. Alternatively, a special capability can be given to the binary: sudo setcap 'cap_net_bind_service=+ep' /path/to/executable https://bugzilla.gnome.org/show_bug.cgi?id=738967