Giter VIP home page Giter VIP logo

hammer2fs's Introduction

# 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.

hammer2fs's People

Contributors

driusan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.