From 09532e5216191391ce13264594cf1d6f88d07933 Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 30 Oct 2026 20:37:27 -0700 Subject: [PATCH] docs(media): a deletion is staged on the item's own filesystem Trashing 31 GiB of duplicate Monk to ~/.AGENTTRASH would have been a cross-device copy of the thing being deleted, into 187 GiB of free space, on a volume at 100% -- and rename(2) refuses it regardless. The stage belongs beside the item. --- serverAppConfigs-docs/Dankserver/Media Relayout.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/serverAppConfigs-docs/Dankserver/Media Relayout.md b/serverAppConfigs-docs/Dankserver/Media Relayout.md index 884c6ea..e9e20d1 100644 --- a/serverAppConfigs-docs/Dankserver/Media Relayout.md +++ b/serverAppConfigs-docs/Dankserver/Media Relayout.md @@ -174,6 +174,12 @@ A sidecar that shares an episode's own name (`.srt`, `.nfo`) moves with it. other way deletes a file that is unique. The comparison is `media-titles.ep_of` on both sides: series, season, episode, bytes, and a hash before anything is trashed. +- **A deletion is staged on the item's own filesystem.** The trash rule names + `~/.AGENTTRASH`, but `/home` and `/mnt/entropy` are different devices: a 31 GiB + stage there is a copy rather than a rename, it has to fit in the 187 GiB of + free space, and `rename(2)` refuses it anyway. Trash goes beside the item — + `/mnt/entropy/.AGENTTRASH/-/` — so it costs one inode change and + rolls back exactly like the move that made it. - **A file whose name carries no words is bonus material, not a folder.** `.Extra 1 ( 1H 27min multisub ).mkv` parses to `1`; a movie folder named `1` is not a movie. It becomes a review line telling a human to name the file.