|
RunningTheDemo
How to mount the demo filesystem
Featured 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 UsersRun 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 UsersRun 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 |
Awsome -- works as described on the box (Using Ubuntu 8.04 on 64 bit. NB Many of the required package names are different though)
Indeed, under latest Ubuntu you'll need
sudo apt-get install libcurl4-openssl-dev libfuse-dev
Under CentOS/RHEL you need to subscribe yum to the rpmforge repo to get the required libraries.
How do I unmount this demo?
To unmount the demo when you're done (Linux):
I had to run:
sudo echo user_allow_other >> /etc/fuse.conf
and reload the fuse module (I rebooted) to get this to work.
Is anyone able to get this to work on snow leopard? I just get: cd: s3b.mnt: Input/output error
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
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