[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disk space IS conserved! You just need the right counter...



>
>tune2fs -m 0 /dev/whatever
>
>should make the reserved percentage zero. (you might only be allowed to
>go down to 1%, who knows)
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 <---