Feature Request: free space limiter to protect against filling disks #130

Open
opened 2026-01-09 23:03:52 +00:00 by melithine · 0 comments
Collaborator

This FR got missed from the move off github. Basically, its very easy for ofdl to fill up the disk it's downloading to, which can be highly problematic if that happens to be the OS drive. It would be good to add some form of configurable protection to things to prevent that from happening.

The easiest method i can see is checking free space before any download against the threshold value. It'd still be possible with a very low threshold and a long video like a livestream recording, but more accurate protection would probably require the information gathered when ShowScrapeSize is enabled, and we already know that adds a very significant performance impact.

We should be careful about Docker with this feature, as checking free space against a Docker volume mount may be problematic.

This FR got missed from the move off github. Basically, its very easy for ofdl to fill up the disk it's downloading to, which can be highly problematic if that happens to be the OS drive. It would be good to add some form of configurable protection to things to prevent that from happening. The easiest method i can see is checking free space before any download against the threshold value. It'd still be possible with a very low threshold and a long video like a livestream recording, but more accurate protection would probably require the information gathered when ShowScrapeSize is enabled, and we already know that adds a very significant performance impact. We should be careful about Docker with this feature, as checking free space against a Docker volume mount may be problematic.
melithine added the
feature-request
label 2026-01-09 23:03:52 +00:00
whimsical-c4lic0 added this to the Development Board project 2026-02-19 18:50:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sim0n00ps/OF-DL#130
No description provided.