Skip to content

Commit 34cb663

Browse files
committedOct 1, 2012
Add readme, license and authors files
1 parent 1be8425 commit 34cb663

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed
 

‎AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Tor Arne Vestbø <torarnv@gmail.com>

‎LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) 2012, Tor Arne Vestbø. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
8+
2. Redistributions in binary form must reproduce the above copyright notice,
9+
this list of conditions and the following disclaimer in the documentation
10+
and/or other materials provided with the distribution.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
19+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

‎README.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
sparsebundlefs
2+
================
3+
4+
FUSE filesystem for reading Mac OS sparse-bundle disk images.
5+
6+
Mac OS X v10.5 (Leopard) introduced the concept of sparse-bundle disk images, where the data is
7+
stored as a set of small fixed-size *band* files instead of as a single monolithic file. This
8+
allows for more effective backups of the disk image, as only the changed bands need to be
9+
stored.
10+
11+
One common client of sparse-bundles is Mac OS's backup utility, *Time Machine*, which stores
12+
the backup data within a sparse-bundle image on the chosen backup volume.
13+
14+
This software package implements a FUSE virtual filesystem for read-only access to the sparse-
15+
bundle, as if it was a single monolithic image.
16+
17+
Installation
18+
------------
19+
20+
Clone the project from GitHub:
21+
22+
git clone git://github.com/torarnv/sparsebundlefs.git
23+
24+
Or download the latest tar-ball:
25+
26+
curl -L https://github.com/torarnv/sparsebundlefs/tarball/master | tar xvz
27+
28+
Install dependencies:
29+
30+
- [OSXFUSE][osxfuse] on *Mac OS X*
31+
- `apt get install libfuse-dev libfuse2 fuse-utils` on Debian-based *GNU/Linux* distros
32+
- Or install the latest FUSE manually from [source][fuse]
33+
34+
Compile:
35+
36+
make
37+
38+
**Note:** If your FUSE installation is in a non-default location you may have to
39+
export `PKG_CONFIG_PATH` before compiling.
40+
41+
Usage
42+
-----
43+
44+
To mount a `.sparsebundle` disk image, execute the following command:
45+
46+
sparsebundlefs [-o options] sparsebundle mountpoint
47+
48+
For example:
49+
50+
sparsebundlefs ~/MyDiskImage.sparsebundle /tmp/my-disk-image
51+
52+
This will give you a directory at the mount point with a single `sparsebundle.dmg` file.
53+
54+
You may then proceed to mount the `.dmg` file using regular means, *eg.*:
55+
56+
mount -o loop -t hfsplus /tmp/my-disk-image/sparsebundle.dmg /mnt/my-disk
57+
58+
This will give you read-only access to the content of the sparse-bundle disk image.
59+
60+
License
61+
-------
62+
63+
This software is licensed under the [BSD two-clause "simplified" license][bsd].
64+
65+
66+
67+
[osxfuse]: http://osxfuse.github.com/ "Fuse for OSX"
68+
[fuse]: http://fuse.sourceforge.net/ "FUSE"
69+
[bsd]: http://opensource.org/licenses/BSD-2-Clause "BSD two-clause license"

0 commit comments

Comments
 (0)
Please sign in to comment.