> The problem is rather your old glibc and kernel versions.
Oh yes, that's been aparent from the start. ;-) I just thought there
SHOULD be a prescribed way to test at any time if a fs was (really)
mounted RW, even in an old kernel/glibc.
> In glibc versions before 2.13, statvfs() populated the
I'm just in the process of running over (and modifying) my build
scripts. I'm currently looking at "Adjusting the Toolchain", chapter
6.10 in the current stable book, and a question arose in my mind.
Wouldn't it be better to copy ld-new rather than move it? Doing so
would keep ld-new around in
On 13/11/2016 03:02 πμ, Paul Rogers wrote:
I don't understand what you are trying to do. If you want to check
if a filesystem is mounted ro or rw you may want to test this trivial
C program that utilizes the statvfs(3) glibc function. It needs
a mountpoint as argument and prints ro or rw