Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor, move into a single package #8

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
]