Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get filesystem size from udev database #1321

Merged

Conversation

vojtechtrefny
Copy link
Member

@vojtechtrefny vojtechtrefny commented Nov 27, 2024

We can now get filesystem size for all filesystems supported by us directly from udev, no need to run the filesystem specific tools.

Fixes: #1242

We can now get filesystem size for all filesystems supported by
us directly from udev, no need to run the filesystem specific
tools.
@vojtechtrefny
Copy link
Member Author

Unfortunately we still need to keep the old code running the command line tools for CentOS 9 which doesn't have the latest version of libblkid. But on most system we should be able to get the information from udev without depending on the fallback.

@vojtechtrefny vojtechtrefny marked this pull request as ready for review November 28, 2024 13:49
@vojtechtrefny vojtechtrefny merged commit 4f34ef5 into storaged-project:main Nov 28, 2024
13 of 14 checks passed
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.

Get filesystem size and free space from udev when possible
1 participant