Thread View: news.software.nntp
2 messages
2 total messages
Started by Russell Virgilio
Tue, 13 Mar 2001 21:41
cnfs and cnfsstat divide by 0
Author: Russell Virgilio
Date: Tue, 13 Mar 2001 21:41
Date: Tue, 13 Mar 2001 21:41
34 lines
2187 bytes
2187 bytes
Has anyone seen the error below? The only problem I see is I was using /dev/zero as my if= and i had a divide by zero error in the cnfsstat program. I can trace the line number and it seems there are a couple of lines that $len is used as a dividend, but what happens when $len=0? This should be coded into cnfsstat I would think, does anyone have any suggestions as to how to rewrite cnfsstat so it doesn't crash when $len=0. Has anyone else encountered this problem. Can I use a different value for if=/dev/zero and still create the cycbuff files able to be initialized by inn? Am I diagnosing my problem accurately? Thanks for any and all help, I am most grateful to everyone on this newsgroup.... -Russell > This is the error I receive when I run > cnfsstat -c ONE, which corresponds to a partition created with this > command. > > dd if=/dev/zero of=/var/spool/news/cycbuffs/one bs=1k count=2097150 > > Illegal division by zero at /services/server/news/bin/cnfsstat line 289, > <STOR> chunk 81. > Buffer , size: 0.00 TBytes, position: 0.00 TBytes
Re: cnfs and cnfsstat divide by 0
Author: those who know me have no need o...
Date: Thu, 15 Mar 2001 11:16
Date: Thu, 15 Mar 2001 11:16
9 lines
897 bytes
897 bytes
<3AAE941A.8DAA8564@gatech.edu> divulged: >Has anyone seen the error below? start inn at least once, so that it initializes the header. -- okay, have a sig then
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads