ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: free space on CF

To:
Subject: Re: [ts-7000] Re: free space on CF
From: walter marvin <>
Date: Sat, 15 Jan 2011 09:32:38 -0800 (PST)


No you do your own directory reads and add it up yourself


--- On Sat, 1/15/11, Jim Jackson <> wrote:

From: Jim Jackson <>
Subject: Re: [ts-7000] Re: free space on CF
To:
Date: Saturday, January 15, 2011, 10:18 AM

 



On Sat, 15 Jan 2011, josue.cubero wrote:

> hello and use these commands
> df-h for a rundown of the space on mounts
> du-h for the current directory
> but what I do in a C program, is there any function like system, to return information to the program I did.
> I say return to the program that displays information on the console, for example, that I return the information system ("date ");

The source code for busybox is easily available and it has an
implementation of df and du.

I'm not sure how you capture the output of a command run from the system()
call, I've never had to do it. But Have you looked at using the popen()
function?

>
>
>
> --- In , Jason Stahls <> wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 01/14/11 21:17, josue.cubero wrote:
> > > Is there any program that lets me know how much space I have in the CF, or a file system that can read and tell me the space.
> > > I tried to use this program
> >
> > df -h for a rundown of the space on mounts
> >
> > du -h for the current directory
> >
> > - --
> > Jason Stahls
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.16 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iQEcBAEBAgAGBQJNMQoNAAoJEBWmhVAMrS/g3p4H/3OiHC28vZ9o/65zCIrkpZ5H
> > f24sOFFiK/eYppABGdJiva9Bd+ZpfexwOPwZwdE9/S/Jnkj2RUuRLvoXaYfOpVlR
> > qj1dnE/c4bFznY3BNx5dVDL4BVM5+8ruxjrSEYH3YeEXDKhJvDcltTM5kWxpJH/s
> > 90cYTUELLlKI6OvFcU+h9r087sNbSQnOBUtaOR6r5wTrG76grbGuak5ChJUncVKX
> > ZZBQpb+CoY6zbMKntnEjFSXsADZm2Ro5TqY+soJR9FK/VcH3dZqupSREmrOs6nYq
> > Jh92OG3p+vG7bUWZEPNNPcVvl8etJ8cGCbKfqjzHgawtkvimQG+EyjJ2g8q+ZuI=
> > =qoQ6
> > -----END PGP SIGNATURE-----
> >
>
>
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU