DragonFly BSD
DragonFly hammer List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

hammerread.c and fuse-hammer ported to OS X


From: Daniel Lorch <daniel.lorch@xxxxxxx>
Date: Sun, 04 Apr 2010 18:01:35 +0200

Hey,

hammerread.c and fuse-hammer now work on OS X. You can get the
-0.2.tar.gz from http://dlorch.github.com/hammer-linux/#download

Softlinks are not supported, yet. Hence the error message for the
snapshot directory. ctime/mtime are wrong as well.

$ wget http://dlorch.github.com/hammer-linux/files/hammerdisk.raw.bz2
$ bzip2 -d hammerdisk.raw.bz2
$ wget http://dlorch.github.com/hammer-linux/files/fusehammer-0.2.tar.gz
$ tar zxf fusehammer-0.2.tar.gz
$ cd fusehammer-0.2
$ make
$ mkdir tmp
$ ./fusehammer ../hammerdisk.raw tmp
$ ls -l tmp
total 12344
-rw-r--r--  1 root  wheel  5242880 Jan  1  1970 5M
-rw-r--r--  1 root  wheel       44 Jan  1  1970 5M.md5
drwxr-xr-x  0 root  wheel        0 Jan  1  1970 a
drwxr-xr-x  0 root  wheel        0 Jan  1  1970 manyfiles
drwxr-xr-x  0 root  wheel        0 Jan  1  1970 pfs

ls: tmp/snap-20090609-0137: Function not implemented
lrwxr-xr-x  0 root  wheel       28 Jan  1  1970 snap-20090609-0137
-rwxr-xr-x  1 root  wheel     4691 Jan  1  1970 sparse
-rw-r--r--  1 root  wheel      172 Jan  1  1970 sparse.c
-rw-r--r--  1 root  wheel  1048576 Jan  1  1970 sparse.file
-rw-r--r--  1 root  wheel       48 Jan  1  1970 sparse.md5
-rw-r--r--  1 root  wheel       12 Jan  1  1970 test

$ md5 5M sparse test
MD5 (5M) = 77c4539c40ad3717e934d320607a9fee
MD5 (sparse) = e348afb9e5647c5b1468025340c2afd6
MD5 (test) = f41121a903eafadf258962abc57c8644

now compare with
http://dlorch.github.com/hammer-linux/files/hammerdisk.raw.txt

Daniel



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]