Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to mount Bitcasa filesystem

📅 2015-Feb-23 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ bitcasa, fusermount ⬩ 📚 Archive

Bitcasa provides a cloud filesystem with 5GB free for any user who signs up. The only reason I tried them was because they claimed to have a Linux client.

The installation steps for their Linux client is:

$ sudo sh -c 'echo "deb http://dist.bitcasa.com/release/apt debian main" > /etc/apt/sources.list.d/bitcasa-release.list'
$ wget -O- http://dist.bitcasa.com/release/bitcasa-releases.gpg.key | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install bitcasa2

What is installed is a commandline tool named mount.bitcasa. It can be used to mount an existing directory on your computer as your Bitcasa filesystem. There are many ways to call this tool, which can be seen by using man mount.bitcasa. I used an existing /media/foo directory on my computer to mount like this:

$ mount.bitcasa foo@example.org /media/foo -o password=secret

This mounted and the files subsequently appeared in the online Bitcasa filesystem. However, deleting or modifying these files online did not reflect in the local filesystem. I guess it is an one-way sync only! That ended my Bitcasa experiment since I wanted two-way sync like Dropbox does.

To unmount this mounted directory:

$ fusermount -u /media/foo

To uninstall the Bitcasa client, reverse the installation steps:

$ sudo apt-get remove bitcasa2
$ wget -O- http://dist.bitcasa.com/release/bitcasa-releases.gpg.key | sudo apt-key del -
$ sudo rm /etc/apt/sources.list.d/bitcasa-release.list
$ sudo apt-get update

Tried with: Bitcasa 1.0.0.144 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧