On-line Encrypted Backups for Your Laptop
Listing 4. Some EncFS Options and Their Results When Using OmniFS to Mount the On-line Storage
x, 1, 256, 4096, 2, R, n, R == OK x, 1, 256, 4096, 1, n, R, R == BAD x, 1, 256, 4096, 3, n, n, R == OK x, 1, 256, 4096, 3, R, n, R == OK
Some filesystem people dislike FUSE because of the extra context switches it can introduce. The use of two FUSE filesystems layered on top of each other, as shown in this article, means there is quite a bit of context switching going on in order actually to get data to the network. For the purposes of this article, the overhead of these context switches is irrelevant when compared to Internet connection speed.
Encrypting your home directory can give peace of mind in the event that your laptop is stolen. With on-line backups, you also are protected against losing your important changes along with your laptop or its crashing hard disk.
By using FUSE to expose the on-line storage as a filesystem, the encryption and synchronization can be left intact when you decide to change your on-line storage provider. The OmniFS filesystem uses HTTP to communicate with the on-line storage provider, so it should work even when your Internet connection has aggressive packet filtering.
“eCryptfs: a Stacked Cryptographic Filesystem” by Mike Halcrow, LJ, April 2007: www.linuxjournal.com/article/9400
Mounting eCryptfs as a Nonroot User: ecryptfs.sourceforge.net/ecryptfs-faq.html#nonroot
Openomy Storage Service: www.openomy.com
OpenomyFS: FUSE Filesystem for Openomy: mauricecodik.com/projects/ofs
GMailFS, Mount Your Gmail Account: richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html
FUSE: Filesystem in Userspace: fuse.sourceforge.net
Ruby FUSE Bindings: rubyforge.org/projects/fusefs
Create a Filesystem inside a Berkeley DB File: www.kernel.org/pub/linux/kernel/people/jgarzik/fs
Omnidrive, Free On-line Storage: www.omnidrive.com
OmniFS Home: users.tpg.com.au/panyam/omnifs.html
FUSE Filesytem for Mounting SSH: fuse.sourceforge.net/sshfs.html
EncFS FUSE Filesystem Home Page: arg0.net/wiki/encfs
Ben Martin has been working on filesystems for more than ten years. He is currently working toward a PhD combining Semantic Filesystems with Formal Concept Analysis to improve human-filesystem interaction.
Free DevOps eBooks, Videos, and more!
Regardless of where you are in your DevOps process, Linux Journal can help!
We offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, and advice & help from the expert sources like:
- Linux Journal
- New Products
- Flexible Access Control with Squid Proxy
- Users, Permissions and Multitenant Sites
- Security in Three Ds: Detect, Decide and Deny
- High-Availability Storage with HA-LVM
- Tighten Up SSH
- DevOps: Everything You Need to Know
- Solving ODEs on Linux
- Non-Linux FOSS: MenuMeters
- diff -u: What's New in Kernel Development