moonfire-nvr/src/cmds/config
Scott Lamb b7957edb5a fix "Edit retention" fs capacity calculation
This was completely wrong: it overflowed on large filesystems and
double-counted the used bytes.

The new logic is still imperfect in that if there are a bunch of files in the
process of being deleted (moved from recording to reserved_sample_files but
not yet unlinked), they'll be taken out of the total capacity. Maybe it should
stat everything in the sample file directory instead of relying on the
recording table. It's definitely an improvement, though.
2017-02-12 20:45:46 -08:00
..
cameras.rs new "moonfire-nvr config" subcommand 2017-02-05 19:58:41 -08:00
mod.rs new "moonfire-nvr config" subcommand 2017-02-05 19:58:41 -08:00
retention.rs fix "Edit retention" fs capacity calculation 2017-02-12 20:45:46 -08:00