Device files on read-only file systems?
Hi all -
btrfs_permission currently returns -EROFS when the root is set read-only and the open is requested read-write. It doesn't make an exception for device files. Is this intentional?
-Jeff
Signature · 2 lines
Jeff Mahoney SUSE Labs
Excerpts from Jeff Mahoney's message of 2011-08-15 09:11:24 -0400:
Quoted 5 lines
Hi all -
btrfs_permissioncurrently returns-EROFSwhen the root is set read-only and the open is requested read-write. It doesn't make an exception for device files. Is this intentional?
No, definitely not intentional.
-chris
Quoted 8 lines · Chris Mason
Excerpts from Jeff Mahoney's message of 2011-08-15 09:11:24 -0400:
Quoted 5 lines
Hi all -
btrfs_permissioncurrently returns-EROFSwhen the root is set read-only and the open is requested read-write. It doesn't make an exception for device files. Is this intentional?No, definitely not intentional.
Ok. I'll post a patch in a few minutes.
-Jeff
Signature · 2 lines
Jeff Mahoney SUSE Labs