statvfs does not detect readonly status when set through sysrq-u
Issue
Applications using statfs() system call, which gets filesystem statistics, fail to detect read-only status of the filesystems when filesystems are remounted read-only by running echo u > /proc/sysrq-trigger command.
Environment
- Red Hat Enterprise Linux 7
- ext4 filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
