I can’t seem to find anything like it, neither as a Fuse fs. Is there really no file system, that just evicts the oldest entries once it’s full? I mean, it could be a simple queue.

This would have been the ideal tool for cache; no bothering with size limits and background daemons.

  • MonkderVierte@lemmy.zipOP
    link
    fedilink
    arrow-up
    1
    ·
    15 days ago

    Uncomplicated cache/trash management

    • try 1) I could have a cronjob to parse the cache directory for old files or if it gets full… - scratch that, it would get to a rather complex script with multiple rules.
    • try 2) a systemd service, relying on dbus calls, like the big distros do? No, that breaks even more outside of their ecosystem and i don’t like bloaty DE.
    • try 3) or i could just have a partition in size of choice that “forgets” old files once full?

    But sadly, doesn’t seem to exist. Maybe i will have to learn how to create a fs? It’s only a stack, would also be fast