package chamelon-unix

  1. Overview
  2. Docs
Command-line Unix utilities for chamelon filesystems

Install

Dune Dependency

Authors

Maintainers

Sources

chamelon-v0.1.2.tbz
sha256=49111958c6ec0d6b16a15b304e81e4ffeb45e3d3a4fcd9798fbc978a0c49beea
sha512=30ca4f5c4014d2e7218a1796a221d8d79633c5c844c6254d5b975a818588343c7d43c7af3a486f3c3bbb92e15211ce3c5947bdf93bb7819fe4a1ee48796a19ae

CHANGES.md.html

v0.1.2 (2022-08-04)

  • bugfix: get_partial will now return short reads if called with (offset + length) > the file length, instead of an error. (reported by @palainp, fix by @yomimono)

v0.1.1 (2022-07-28, all changes by @yomimono)

  • bugfix: remove dependency cycle between chamelon and chamelon-unix

  • bugfix: tag src/runtest with (package chamelon-unix)

v0.1.0 (prepared and superseded 2022-07-28, all changes by @yomimono)

  • new features: expose and implement Kv.size t key and Kv.get_partial t key ~offset ~length.

  • bugfix: large files could be misread under certain circumstances because the final block index wasn't correctly calculated. remove bitwise module and the Base popcount it referenced, and instead calculate the block index with a recursive function.

  • bugfix: detect unwriteable blocks instead of endlessly splitting to try to accommodate them.

  • bugfix: keep track of allocated but not-yet-written blocks, and don't hand them out twice.

  • bugfix: check the maximum name length against the block size when mounting a filesystem.

v0.0.10

  • detect simple cycles in the metadata tree at connect time (@yomimono)

  • check block size in the superblock at connect time, and fail if it doesn't match block device (@yomimono)

v0.0.9.1 (2022-06-23)

  • fix 32-bit compilation, for real this time (@yomimono)

v0.0.9 (unreleased)

  • be consistent in the use of Logs vs Log module (@palainp)

  • implement a lookahead block allocator more similar to the littlefs one (@yomimono)

  • bring back fuzz tests and improve them (@yomimono)

  • test for correct block index detection in CTZ files, and fix an edge case (@yomimono)

v0.0.8 (2022-04-29)

  • use the sector_size given by the block device via its info (@dinosaure)

v0.0.7 (2022-03-04)

  • initial opam release

v0.0.6 (2022-03-01)

  • unix binaries are now all subcommands of the chamelon command

  • refactor split and add many more tests

  • fix a bug where writing a block that is over half full and already has a hardtail would never cause compaction

v0.0.5 (2022-02-09)

  • fix several problems with remove

  • fix problem where making new directories could get exciting unexpected contents

v0.0.4 (2022-01-26)

  • always start processing a directory at its first blockpair, not its last

  • add timestamp output to lfs_ls

v0.0.3 (2022-01-22)

  • follow hardtails when making new directories

v0.0.2 (2022-01-18)

  • used block detection now correctly finds the last block in a CTZ list

  • entries in a directory are no longer sometimes lost after splitting when block size is small

  • the allocator now has a separate function for allocating metadata block pairs, so the user doesn't have to retrieve two blocks individually

v0.0.1 (2022-01-10)

Initial release.

OCaml

Innovation. Community. Security.