Reading Partition Space
Tim Wunder
tim at thewunders.org
Tue May 6 19:00:31 PDT 2008
On Tuesday 06 May 2008 08:29:24 pm Steve Jardine wrote:
> All,
>
> Does anyone have a good way that I can in C code get the remaining
> space available in a partition? I do not have du, or df available to me.
> (Embedded stuff - was stripped out).
>
>
Pardon my ignorance, but aren't the gnu tools written in C? Shouldn't there be
a source file for du or df that you could look at?
Tim
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1 Fedora
21:55:01 up 12 days, 15:27, 3 users, load average: 0.29, 0.24, 0.18
"It's what you learn after you know it all that counts" John Wooden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.celestial.com/pipermail/linux-users/attachments/20080506/38ab1e53/attachment-0002.bin
More information about the Linux-users
mailing list