My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
RunningTheDemo  
How to mount the demo filesystem
Featured
Updated Dec 10, 2009 by archie.c...@gmail.com

A demonstration ext2 filesystem (for Linux) and disk image (for Mac OS X) have been created that you can mount read-only and view using s3backer.

No Amazon S3 account is required!

This mechanism can be used to provide humongous world-readable (read-only) filesystems that can be easily mounted by users the world over. Might be a useful way to publicize all kinds of file-based information.

To see the demo, first build and install s3backer. See the BuildAndInstall wiki page for details. Don't forget to

$ sudo sh -c 'echo user_allow_other >> /etc/fuse.conf'

Linux Users

Run these commands:

$ mkdir s3b.mnt demo.mnt
$ s3backer --readOnly s3backer-demo s3b.mnt
s3backer: auto-detecting block size and total file size...
s3backer: auto-detected block size=4k and total size=20m
$ sudo mount -o ro,loop s3b.mnt/file demo.mnt
$ cat demo.mnt/README

You will then be able to see the files in the demo filesystem.

When you're done, you can unmount the filesystem via:

$ sudo umount demo.mnt && sudo umount s3b.mnt

Mac OS Users

Run these commands:

$ mkdir s3b.mnt
$ s3backer --filename=demo.dmg --prefix=macos --readOnly s3backer-demo s3b.mnt
s3backer: auto-detecting block size and total file size...
s3backer: auto-detected block size=4k and total size=640k

You will then see demo.dmg inside the s3b.mnt directory, which is a Mac OS disk image you can then mount normally.

Depending on the speed of your Internet connection, it may take several seconds to mount the disk image.

When finished, unmount the disk image by dragging the disk image icon to the trash on your Mac OS X desktop. Then unmount the s3backer filesystem via

$ umount s3b.mnt
Comment by aleccl...@gmail.com, Jul 16, 2008

Awsome -- works as described on the box (Using Ubuntu 8.04 on 64 bit. NB Many of the required package names are different though)

Comment by kostya, Aug 10, 2008

Indeed, under latest Ubuntu you'll need

sudo apt-get install libcurl4-openssl-dev libfuse-dev

Comment by uvi...@gmail.com, Aug 12, 2008

Under CentOS/RHEL you need to subscribe yum to the rpmforge repo to get the required libraries.

Comment by josiah.ritchie, Sep 19, 2008

How do I unmount this demo?

Comment by project member archie.c...@gmail.com, Sep 19, 2008

To unmount the demo when you're done (Linux):

$ sudo umount demo.mnt && sudo umount s3b.mnt
Comment by random.n...@gmail.com, Feb 24, 2009

I had to run:

sudo echo user_allow_other >> /etc/fuse.conf

and reload the fuse module (I rebooted) to get this to work.

Comment by ryanst...@gmail.com, Oct 4, 2009

Is anyone able to get this to work on snow leopard? I just get: cd: s3b.mnt: Input/output error

Comment by 73ga...@gmail.com, Oct 18, 2009

On my Ubuntu, I needed the above

$ sudo apt-get install libcurl4-openssl-dev libfuse-dev

and

$ sudo echo user_allow_other >> /etc/fuse.conf

and

$ sudo apt-get install libexpat1-dev

Comment by andyholt...@gmail.com, Mar 19, 2012

On CentOS 6.2 x86_64, I was able to compile, and connect to the demo, after installing these extra CentOS packages (no need for EPEL or RPMForge): yum install fuse-devel fuse libcurl-devel openssl-devel expat-devel


Sign in to add a comment
Powered by Google Project Hosting