Skip to content

Remove disk space check#30

Open
Forestryks wants to merge 2 commits intomainfrom
aodintsov-fix-disk-space-check-for-device-files
Open

Remove disk space check#30
Forestryks wants to merge 2 commits intomainfrom
aodintsov-fix-disk-space-check-for-device-files

Conversation

@Forestryks
Copy link
Copy Markdown

Context

We initially added this check because lld received SIGBUS when there was insufficient disk space and produced a very obscure error. We have since added a better error message on SIGBUS: 3dbb0fb, so this check is no longer absolutely necessary.

Reason for removal

When forwarding output to /dev/null (or any other device), this check ends up firing on /dev, which size can be any arbitrary number. We could check for the file type and not fire the check on special files, but considering that we now have better error messages in case of SIGBUS, we can just remove this check.

@Forestryks Forestryks requested a review from spiessimon April 16, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant