driusan / hammer2fs Goto Github PK
View Code? Open in Web Editor NEWAn implementation of the hammer2 filesystem for Plan 9
License: MIT License
An implementation of the hammer2 filesystem for Plan 9
License: MIT License
# 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.