Skip to content

Commit

Permalink
Merge pull request #8 from robur-coop/single-package
Browse files Browse the repository at this point in the history
minor, move into a single package
  • Loading branch information
reynir authored Oct 30, 2024
2 parents 8a1a676 + b7f5ca5 commit 26f8a32
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 35 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CRC32 checksums are used to ensure integrity of both the header and the data.
Another one-file filesystem where instead recovery and integrity is prioritized.
This is useful for storing application state and configuration.
If a write fails or is interrupted the old data is recoverable.
The superblock (filesystem header) is duplicated at the beginning and end of the block device and is checked with a cryptographic hash.
The data is as well checked with a cryptographic hash.
The superblock (filesystem header) is duplicated at the beginning and end of the block device and is checked with the cryptographic hash SHA-256.
The data is as well checked with the cryptographic hash SHA-256.

With [mirage-block-partition](https://github.com/reynir/mirage-block-partition/) you can store multiple files with static allocation.
2 changes: 1 addition & 1 deletion lib/fail_safe/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(library
(public_name oneffs-fail-safe)
(public_name oneffs.fail-safe)
(name oneFFS_Fail_safe)
(libraries mirage-block cstruct lwt mirage-clock ptime digestif logs))
32 changes: 0 additions & 32 deletions oneffs-fail-safe.opam

This file was deleted.

3 changes: 3 additions & 0 deletions oneffs.opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ depends: [
"lwt" {>= "2.6.0"}
"cstruct" {>= "6.0.0"}
"checkseum"
"ptime"
"digestif"
"logs"
]

0 comments on commit 26f8a32

Please sign in to comment.