mirage / ocaml-fat

Read and write FAT format filesystems from OCaml
ISC License
26 stars 18 forks source link

Update to mirage4 and clarify purpose #85

Closed djs55 closed 3 years ago

djs55 commented 3 years ago

The primary purpose of this library is to make it easy to produce FAT-formatted disk images to help boot Mirage unikernels via certain bootloaders.

A secondary purpose maybe for a Mirage application to write key=value data to a block device using the FAT filesystem format (which may be convenient because it is ubiquitous)

This PR exposes 2 APIs:

  1. a low-level filesystem API not intended for use by Mirage unikernels, but only intended for disk image creation
  2. a high-level key=value API which could be used by a unikernel (maybe)

This PR removes the dependency on deprecated Mirage_fs by mostly inlining code from there.

djs55 commented 3 years ago

OK it builds again; dep on deprecated mirage-fs removed. I think a release of this is overdue so I'll merge and release.