[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disk space IS conserved! You just need the right counter...
hm. ok.. let me see if i understand this right.
You just wanted something to REPORT the actual free space. You did not
want something to actually make the reserved space writeable by normal
users.
Is this right?
I thought you were asking how you would free up the space and use it. Oh
well.
> Awareness. The question I did ask (thrice), was how to find it. While this
> thread was going, all the rules changed; we have to run things on just about
> anyplace (not only Linux), so I'm throwing together BBAFSI (pronounce it like
> it looks, it stands for Bob Brown's Abstracted File System Interface), which
> has to represent files systems on lotsa platforms (and might make me rich
> and famous [well famous, anyway] in the GPL world).
>
> The answer for Linux (and probably similar unices) is statfs, which I can use
> in my app to find the actual free (to non-su) block count, and other goodies.
>
> Regards,
> ---> RGB <---
>