Files
libfreemkv/docs/fs-type.md
T
Matthew Jackson 6e14fc0c0c libfreemkv: 1.7.0 groundwork — sector-recycle soundness + CI hardening
Security
- Remove the unsafe Vec::set_len over recycled sector buffers — UB reachable
  from safe code (GHSA-j8ww-f5fg-9pmh, low). Uses Vec::resize; pooling unchanged.

CI / tooling
- clippy on stable with the MSRV single-sourced from Cargo.toml; cargo-deny
  dependency-audit gate with first-party git sources allowed (#15); audience-based
  comment-guard (#17).

Docs
- README (keydb ownership, BD-J parser count), drive-access transport/reset
  notes, mux timeline module-doc links.
2026-09-02 12:40:55 -07:00

569 B

fs_type module

The buffering architecture (Phase 2) selects different output sinks for local vs network filesystems: NFS gets the adaptive WritebackFile machinery on Linux; local disks get LocalFileSink and rely on the kernel's default writeback policy. This module provides the construction-site primitive that picks which one.

Per the per-OS file-split convention, the actual statfs call lives in the matching platform file (linux.rs, macos.rs, windows.rs, other.rs); this mod.rs exposes only the cross-platform enum and the detect entry point.