Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/driusan/hammer2fs
An implementation of the hammer2 filesystem for Plan 9
https://github.com/driusan/hammer2fs
9front 9p filesystem hammer2 plan9
Last synced: 7 days ago
JSON representation
An implementation of the hammer2 filesystem for Plan 9
- Host: GitHub
- URL: https://github.com/driusan/hammer2fs
- Owner: driusan
- License: mit
- Created: 2018-11-08T02:54:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T18:38:41.000Z (almost 6 years ago)
- Last Synced: 2024-08-01T13:16:34.956Z (3 months ago)
- Topics: 9front, 9p, filesystem, hammer2, plan9
- Language: C
- Size: 186 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
- awesome-9p - hammer2fs - Implementation of the hammer2 filesystem (Servers / Plan9)
README
# hammer2 9p
This contains a 9p implementation of the hammer2 filesystem, to make
it possible to read the DragonFly filesystem on Plan 9. (I've only
tried it on 9front, but as far as I know I didn't do anything 9front
specific.)The util directory contains a hacked up version of disk/prep which
installs as disk/label. disk/label reads BSD disklabel64 labels and
outputs in a similar fashion to disk/prep -p. You can use it as
"disk/label /dev/sdE0/bsd386 > /dev/sdE0/ctl" to see your BSD
partitions as regular files under /dev/sdE0. (Assuming you're using a
64-bit disklabel and not the 32-bit disklabel format and your disk
partition is named sdE0.)hammer2fs reads a hammer2 partition (by default /dev/sdE0/hammer2) and
serves it over 9p. It posts to /srv/hammer2. It's currently
read-only and and will likely remain read-only for the foreseeable
future.lz4.^(c h) are a port of the basic lz4 library. I mostly just removed
#ifdefs for other operating systems/compilers and changed the types to
be compatible with the Plan 9 compiler. You should be able to just
copy them elsewhere and use them if you need lz4 (de)compression
support under Plan 9.hammer2.h and hammer2_disk.h are similarly ported from DragonFly (and
mostly just have the types changed and packed pragma syntax changed.)
They contain the disk structures and documentation about the
filesystem.