{"id":13559284,"url":"https://github.com/driusan/hammer2fs","last_synced_at":"2025-07-15T00:31:04.343Z","repository":{"id":139183054,"uuid":"156641509","full_name":"driusan/hammer2fs","owner":"driusan","description":"An implementation of the hammer2 filesystem for Plan 9","archived":false,"fork":false,"pushed_at":"2018-11-25T18:38:41.000Z","size":190,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T10:44:04.583Z","etag":null,"topics":["9front","9p","filesystem","hammer2","plan9"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/driusan.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-11-08T02:54:59.000Z","updated_at":"2024-10-06T13:10:51.000Z","dependencies_parsed_at":"2024-01-16T18:23:33.120Z","dependency_job_id":null,"html_url":"https://github.com/driusan/hammer2fs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driusan%2Fhammer2fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driusan%2Fhammer2fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driusan%2Fhammer2fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driusan%2Fhammer2fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driusan","download_url":"https://codeload.github.com/driusan/hammer2fs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226002942,"owners_count":17558157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["9front","9p","filesystem","hammer2","plan9"],"created_at":"2024-08-01T13:00:16.991Z","updated_at":"2024-11-23T05:15:37.988Z","avatar_url":"https://github.com/driusan.png","language":"C","funding_links":[],"categories":["Servers"],"sub_categories":["Plan9"],"readme":"# hammer2 9p\n\nThis contains a 9p implementation of the hammer2 filesystem, to make\nit possible to read the DragonFly filesystem on Plan 9.  (I've only\ntried it on 9front, but as far as I know I didn't do anything 9front\nspecific.)\n\nThe util directory contains a hacked up version of disk/prep which\ninstalls as disk/label.  disk/label reads BSD disklabel64 labels and\noutputs in a similar fashion to disk/prep -p.  You can use it as\n\"disk/label /dev/sdE0/bsd386 \u003e /dev/sdE0/ctl\" to see your BSD\npartitions as regular files under /dev/sdE0.  (Assuming you're using a\n64-bit disklabel and not the 32-bit disklabel format and your disk\npartition is named sdE0.)\n\nhammer2fs reads a hammer2 partition (by default /dev/sdE0/hammer2) and\nserves it over 9p.  It posts to /srv/hammer2.  It's currently\nread-only and and will likely remain read-only for the foreseeable\nfuture.\n\nlz4.^(c h) are a port of the basic lz4 library.  I mostly just removed\n#ifdefs for other operating systems/compilers and changed the types to\nbe compatible with the Plan 9 compiler.  You should be able to just\ncopy them elsewhere and use them if you need lz4 (de)compression\nsupport under Plan 9.\n\nhammer2.h and hammer2_disk.h are similarly ported from DragonFly (and\nmostly just have the types changed and packed pragma syntax changed.)\nThey contain the disk structures and documentation about the\nfilesystem.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriusan%2Fhammer2fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriusan%2Fhammer2fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriusan%2Fhammer2fs/lists"}