Live data from Hacker News

Show HN: Google Drive as a file system

github.com

41–50 of 86 posts

Re: Show HN: Google Drive as a file system

#43

Earlier quoted context omitted.

Same here. I wish they offered it for personal accounts. I would happily start paying for Drive to use it.

I’m not sure if it’s what you’re looking for, but Backup and Sync is a similar Drive sync utility made by google for personal accounts. The only feature that it doesn’t have is file-level sync settings (afaik B&S only has folder level sync options)

Backup and Sync lacks the coolest feature of File Stream. File Stream allows you to download files when you access them instead of keeping them all on your PC. For someone like me with lots of photos, a smallish SSD, and a fast internet connection it's very convenient.

Re: Show HN: Google Drive as a file system

#44

Hello everyone! I have built a tool that allows Linux and macOS users to mount their Google Drive account locally as a virtual file system. The file system supports most typical operations (creating/deleting/moving/renaming files and directories, reading/writing to them). It can also export special Drive files as OpenOffice documents and has an in-memory cache which improves the speed of navigation and file access. C…

As an undergrad thesis? Wow you are amazing! I'm wondering how it differ from the existing Google Drive FUSE project? [1]

[1]: https://github.com/astrada/google-drive-ocamlfuse

Re: Show HN: Google Drive as a file system

#45
post #7

What about Google Drive File Stream? https://support.google.com/drive/answer/7329379?hl=en

I use this at work and it’s very good.

Interesting, I use it at work and have nothing but problems with it. What sort of file count do you have on Drive? I suspect ours is beyond the testing scope of DriveFS and as such perfo nance is hideous and often freezes up computers for minutes at a time.

Re: Show HN: Google Drive as a file system

#46

Hello everyone! I have built a tool that allows Linux and macOS users to mount their Google Drive account locally as a virtual file system. The file system supports most typical operations (creating/deleting/moving/renaming files and directories, reading/writing to them). It can also export special Drive files as OpenOffice documents and has an in-memory cache which improves the speed of navigation and file access. C…

Not sure what is unique about this...no offense.

In addition to FUSE which is a wrapper that must be then given calls just like this, there are I suspect tens if not hundreds of non fuse implementations - the drive api is practically written for people to do this.

I say this not out of malice, I've done it myself before when integrating an application written in python which wad expecting a filesystem.

Props for writing it in rust though - I've been looking for an application in rust to cut my teeth on, perhaps I'll use yours as an intro. :)

Re: Show HN: Google Drive as a file system

#47
I'm getting an error when compiling (`cargo build`), both on stable and nightly Rust:

    error: failed to run custom build command for `fuse v0.3.1`
    process didn't exit successfully: `/home/bromskloss/code/gcsf/target/debug/build/fuse-46607682b28e6d4c/build-script-build` (exit code: 101)
    --- stderr
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse >= 2.6.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fuse\' found\n" } }', libcore/result.rs:945:5
    note: Run with `RUST_BACKTRACE=1` for a backtrace.
Am I doing it wrong?

Re: Show HN: Google Drive as a file system

#48

Although this is fairly nice, I would recommend Syncthing over this. It has the benefit of not relying on any third party to store your data, it's all exclusively on your devices, along with some very solid security.

Syncthing is pretty much a compeltely different thing.

I use Syncthing a bunch, but I don't really see any overlap between it and this tool.

Re: Show HN: Google Drive as a file system

#49

I'm getting an error when compiling (`cargo build`), both on stable and nightly Rust: error: failed to run custom build command for `fuse v0.3.1` process didn't exit successfully: `/home/bromskloss/code/gcsf/target/debug/build/fuse-46607682b28e6d4c/build-script-build` (exit code: 101) --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--c…

See this issue[0]. tl;dr: make sure you have the libfuse-dev package installed.

[0] https://github.com/harababurel/gcsf/issues/9

Post reply on HN