Commit Graph

1279 Commits

Author SHA1 Message Date
97364fd0b6 ncdu: disable on plan9 and solaris as termbox isn't supported there 2017-06-15 20:10:54 +01:00
c34f11a92f rclone ncdu for exploring a remote with a text based user interface. 2017-06-15 17:44:17 +01:00
7be49249d3 Add lsjson command - fixes #1063 2017-06-14 16:49:40 +01:00
7e20e16cff core: Implement Walk directory listing and use in place of Lister
This is in preparation for removing the Lister code and replacing the
fundamental operation in the Fs with listing a single directory.
2017-06-14 16:49:40 +01:00
68333d34a1 dropbox: make setting mod time on existing files work properly
This is a fix left over from the v2 conversion.  Dropbox ignores the
client modification on an incoming file if it was identical to the
existing file.  This change deletes the existing file first before
re-uploading the new one.
2017-06-13 13:58:39 +01:00
740b3f6ae2 Fix problems found with ineffassign 2017-06-13 11:52:36 +01:00
28fcc53e45 mount test: retry umount as it fails occasionally
This is because of the background releasing of files which happens
after all the files are closed.
2017-06-13 10:52:10 +01:00
d30cc1e119 Factor RemoteSplit into fs 2017-06-07 12:27:33 +01:00
9782c264e9 hand dirCacheTime through again 2017-06-01 09:02:22 +01:00
52e96bc0e2 dropbox: add missing dbhashsum command
This was missed from 63819598505cf9a3346a37a553c31381afc71bb9
2017-05-30 19:26:06 +01:00
6381959850 dropbox: support Dropbox content hashing scheme - fixes #1302
* add support to hashing module
  * add dbhashsum to list the hashes
  * add support to dropbox module

This means objects up and downloaded to/from Dropbox will have their
hashes checked.

Note after this change local objects are calculating MD5, SHA1 and
DBHASH which is excessive and needs to be fixed.
2017-05-29 12:04:44 +01:00
a2e3af0523 poll for Google Drive changes when mounted 2017-05-28 17:54:52 +01:00
ade61fa756 Updated FTP to follow SFTP standards, updated documentation 2017-05-25 09:30:15 +01:00
8f54dc06a2 Use build tags to control when and where cmount is built 2017-05-19 17:08:04 +01:00
2cae017738 mountlib: fix race condition in cache clear 2017-05-19 15:47:52 +01:00
ecedcd0e7f cmount: stop failing tests on Windows 2017-05-15 17:40:44 +01:00
3dff91d691 mount: add missing build constraint to fix Windows build 2017-05-15 17:40:15 +01:00
b259f8b752 cmount, mount, mountlib: make --read-only reject modify operations
Normally mount/cmount use `-o ro` to get the kernel to mark the fs as
read only.  However this is ignored by WinFsp, so in addition if
`--read-only` is in effect then return EROFS ("Read only File System")
from all methods which attempt to modify something.
2017-05-15 16:56:47 +01:00
8be8a8e41b mountlib: on read only open of file, make open pending until first read
This fixes a problem with Windows which seems fond of opening files
just to read their attributes and closing them again.
2017-05-15 16:56:47 +01:00
f9500729b7 mountlib: fix cross platform tests 2017-05-15 16:56:46 +01:00
204a19e67f cmount: Wait for mountpoint to appear on Windows before declaring mounted 2017-05-15 16:56:46 +01:00
e6ffe3464c cmount: check for filesystem blowing up before Init is called 2017-05-15 16:56:46 +01:00
0384364c3e cmount: pass --FileSystemName under windows 2017-05-15 16:56:46 +01:00
763facfd78 cmount: implement --fuse-flag to pass commands to fuse library directly
Useful for `--fuse-flag -h` to see exactly which options the library supports.
2017-05-15 16:56:46 +01:00
bc88f1dafa cmount: fix openFile leak 2017-05-15 16:56:46 +01:00
0c055a1215 cmount: Statfs: reduce max size of volume for Windows 2017-05-15 16:56:46 +01:00
938d7951ab cmount: allow extra options to pass to fuse with -o 2017-05-15 16:56:45 +01:00
b4466bd9b1 Add -o uid=-1 -o gid=-1 for Windows/WinFsp 2017-05-15 16:56:45 +01:00
31f76aa464 cmount: implement no-ops for Fsync, Chmod, Chown, Access, Fsyncdir and stop using fuse.FileSystemBase 2017-05-15 16:56:45 +01:00
c887c164dc cmount: add function tracing 2017-05-15 16:56:45 +01:00
115ac00222 mount, mountlib: move function tracing into mount 2017-05-15 16:56:45 +01:00
abda616f84 mountlib: make Nodes also be fmt.Stringer so they debug nicely 2017-05-15 16:56:45 +01:00
9c3048580a cmount: fix code quality warnings 2017-05-15 16:56:45 +01:00
c1d5faa32a mountlib: fix code quality warnings 2017-05-15 16:56:45 +01:00
d127d8686a mountlib: pass options in fsys not as args 2017-05-15 16:56:44 +01:00
bc9856b570 Forward port 930ff266f2ea3ef2824860099c681c4e4351a4f9 to cmount branch
compare checksums on upload/download via FUSE
2017-05-15 16:56:44 +01:00
855071cc19 cmount: name the command mount under windows and cmount under linux 2017-05-15 16:56:44 +01:00
b179540e80 cmount: fix Getattr to work on directories 2017-05-15 16:56:44 +01:00
6a8e4690d3 mountlib: windows fixes for drive letter and timing 2017-05-15 16:56:44 +01:00
917ea6ac57 mountlib: make tests work under all platforms 2017-05-15 16:56:44 +01:00
7b47a1e842 cmount: set the correct values for uid, gid under Windows 2017-05-15 16:56:44 +01:00
bcd87009e2 Fix docs typo 2017-05-15 16:56:44 +01:00
caf85737c3 cmount: fix Windows compile (thanks Bill Zissimopoulos) 2017-05-15 16:56:44 +01:00
e1516e0159 Forward port 58a82cd5780a91cf3adfb043d476a752688d4f32 into cmount branch
allow the fuse directory cached to be cleaned manually
2017-05-15 16:56:43 +01:00
ee1111e4c9 cmount: a new mount option based on cgofuse.
This with the aid of WinFSP should work on Windows.

Unfinished bits
  * 1 test doesn't pass
  * docs
  * build
2017-05-15 16:56:43 +01:00
268fe0004c mount: factor filesystem code into mountlib and mounttest 2017-05-12 21:24:24 +01:00
58a82cd578 allow the fuse directory cached to be cleaned manually (fixes #803) 2017-05-07 12:08:59 +01:00
930ff266f2 compare checksums on upload/download via FUSE 2017-05-02 22:27:38 +01:00
2fd86c93fc allow modTime to be changed even before all writers are closed (fixes #1197 -- again) 2017-03-31 01:28:08 +02:00
a54692d165 OneDrive vs One Drive
It's better to call this service as it's officially named.
2017-03-29 18:11:33 +01:00