Commit Graph

6 Commits

Author SHA1 Message Date
mpl ba1877c4b6 pkg/fs: take At into account for (root)dirs
Also adds more reliable check for "mounted broken" dirs on linux (that
require a fusermount -u). They were seen as not mounted (actually not
existing), because the check relied on df, which on them would just
return the "transport endpoint is not connected" error.

Fixes #826

Change-Id: I440d10a7b42c217ee85ea7a1726e581bc74e6f4a
2016-08-01 18:45:26 +02:00
Eric Drechsel 0ddc0d7ef4 fs: remove noXattr type
The original change, as indicated by the accompanying comment, was to avoid returning ENOSYS,
which causes the OSX kernel to disable that call volume-wide.

bazil.org/fuse returns ENOTSUP for each unimplemented call, so this isn't needed anymore.
37bfa8be92/fs/serve.go (L1112)

This patch changes the default return values as follows:

    Getxattr: ErrNoXattr → ENOTSUP
    Listxattr: nil → ENOTSUP
    Setxattr: EPERM → ENOTSUP
    Removexattr: EPERM → ENOTSUP

Change-Id: I6adb744f76385d36eadd531a9f1dd1670b46f452
2016-05-02 20:43:37 -07:00
Eric Drechsel e0a9699c63
Update bazil.org/fuse
move to vendor
fix (lots) of breakages due to API changes

bazil.org/fuse: 37bfa8be929171feec943f3496bc4befdeaf10db

Change-Id: Ic92faf7585371027f3c521f7a24ae56d70d18547
2016-04-09 12:40:02 -07:00
Tommi Virtanen 6cda29582b third_party: Switch FUSE library to bazil.org/fuse
import bazil.org/fuse at f6649cd46fb76b1e04ba9eeffb773cb189278d31
remove code.google.com/p/rsc/fuse.

Huge thanks to Tommi Virtanen for the fuse support.

Change-Id: I44b95ac1ea344648593c7376f83ca675a56077b3
2014-01-24 13:28:08 -08:00
Dustin Sallings c13717e788 fs: extended attribute support
This includes read-write support for extended attributes for mutable
files, and enough support on all other filesystem paths to prevent OS X
from falling back to AppleDouble files.

Change-Id: I2b275591f3bc69c25e1e9c8d59a7fa4cf0bb97ff
2014-01-02 12:02:10 -08:00
Dustin Sallings d768e5c5a6 FUSE time travel
Change-Id: I54f6c95629374fe2b578e4a0dec017fb9d724b32
2013-12-27 19:19:06 -08:00