[ale] bizarre error

John Wells jb at sourceillustrated.com
Mon Apr 15 16:47:32 EDT 2002


Oh well...guess it's a good opportunity to learn debugfs ;).  Thanks for the
effort anyway!

John

---------  Original message --------
From: Chris Fowler <cfowler at outpostsentinel.com>
To: ale at ale.org
To: John Wells <jb at sourceillustrated.com>, Geoffrey <esoteric at 3times25.net>
CC: ale at ale.org
Subject: RE: [ale] bizarre error
Date: 04-16-02 00:43

> Your going to have to try debugfs.

-----Original Message-----
From: John Wells [mailto:jb at sourceillustrated.com]
To: ale at ale.org
Sent: Monday, April 15, 2002 4:40 PM
To: Chris Fowler; Geoffrey
Cc: ale at ale.org
Subject: RE: [ale] bizarre error


Ok.  Reran cvs to get the error again and fill the disk back up.  Here's the
output:

[/home/jb/c]-)./statfs /
FS: /
Optimal Block Size: 4096
Total Blocks in FS: 1978557
Free Blocks: 250760
Used Blocks: 1727797
Blocks Avail. to non-root: 150254
Total INODES: 1005888
Free INODES: 752323
Used INODES: 253565

---------  Original message --------
From: Chris Fowler &lt;cfowler at outpostsentinel.com&gt;
To: ale at ale.org
To: Geoffrey &lt;esoteric at 3times25.net&gt;
CC: ale at ale.org
Subject: RE: [ale] bizarre error
Date: 04-16-02 00:24

&gt; comiple this with

gcc -o statfs statfs.c

Run it and display output.

--- Cut Here ----
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;unistd.h&amp;gt;
#include &amp;lt;sys/vfs.h&amp;gt;



int
main(int argc, char *argv[])
{
struct statfs buf;

if(argc !=2)
{
fprintf(stderr,&amp;quot;statfs &amp;lt;dir fs is mounted
on&amp;gt;n&amp;quot;);
exit(1);
}

if(statfs(argv[1], &amp;amp;buf) == -1)
{
perror(&amp;quot;open fs&amp;quot;);
exit(1);
}

printf(&amp;quot;FS: %sn&amp;quot;, argv[1]);
printf(&amp;quot;Optimal Block Size:        %ldn&amp;quot;, buf.f_bsize);
printf(&amp;quot;Total Blocks in FS:        %ldn&amp;quot;, buf.f_blocks);
printf(&amp;quot;Free Blocks:               %ldn&amp;quot;, buf.f_bfree);
printf(&amp;quot;Used Blocks:               %ldn&amp;quot;, buf.f_blocks -
buf.f_bfree);
printf(&amp;quot;Blocks Avail. to non-root: %ldn&amp;quot;, buf.f_bavail);
printf(&amp;quot;Total INODES:              %ldn&amp;quot;, buf.f_files);
printf(&amp;quot;Free INODES:               %ldn&amp;quot;, buf.f_ffree);
printf(&amp;quot;Used INODES:               %ldn&amp;quot;, buf.f_files -
buf.f_ffree);

return 0;
}

--- Cut Here ---

-----Original Message-----
From: Geoffrey [mailto:esoteric at 3times25.net]
To: ale at ale.org
Sent: Monday, April 15, 2002 8:14 PM
To: Chris Fowler
Subject: Re: [ale] bizarre error


Chris Fowler wrote:
&amp;gt; I should have known taht one.  Maybe I've been programming too
long.

Nah, some of those items slip by.  Afterall, your brain only holds so
much. :)  I hope there's not a 'programming too long' window cause I'd
sure would have fallen out of it by now. :)

&amp;gt;
&amp;gt; -----Original Message-----
&amp;gt; From: Geoffrey [mailto:esoteric at 3times25.net]
&amp;gt; Sent: Monday, April 15, 2002 8:01 PM
&amp;gt; To: John Wells
&amp;gt; Cc: Chris Fowler; ale at ale.org
&amp;gt; Subject: Re: [ale] bizarre error
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;&amp;gt;---------  Original message --------
&amp;gt;&amp;gt;From: Chris Fowler
&amp;lt;cfowler at outpostsentinel.com&amp;gt;
&amp;gt;&amp;gt;To: Geoffrey &amp;lt;esoteric at 3times25.net&amp;gt;, John
Wells
&amp;gt;&amp;gt;
&amp;gt; &amp;lt;jb at sourceillustrated.com&amp;gt;
&amp;gt;
&amp;gt;&amp;gt;CC: ale at ale.org
&amp;gt;&amp;gt;Subject: RE: [ale] bizarre error
&amp;gt;&amp;gt;Date: 04-15-02 23:46
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt;I never thought about that one.  Is there a way to
check?
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;
&amp;gt; df -i
&amp;gt;
&amp;gt;
&amp;gt; --
&amp;gt; Until later: Geoffrey		esoteric at 3times25.net
&amp;gt;
&amp;gt; I didn't have to buy my radio from a specific company to listen
&amp;gt; to FM, why doesn't that apply to the Internet (anymore...)?
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;


--
Until later: Geoffrey		esoteric at 3times25.net

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list