Reading Partition Space

Lonni J Friedman netllama at gmail.com
Tue May 6 18:48:59 PDT 2008


On Tue, May 6, 2008 at 5:29 PM, Steve Jardine <sjardine at acm.org> 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).

Why not look at the source for df ?



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand https://netllama.linux-sxs.org



More information about the Linux-users mailing list