samples/storage.conf

Witold Witkowski yawitkow at cyf-kr.edu.pl
Fri Dec 6 09:41:25 UTC 2002


Hello,

In samples/storage.conf delivered with Inn distribution the
lines are in the following sequence:

#
#       method <methodname> {
#               newsgroups: <wildmat>
#               class: <storage class #>
#               size: <minsize>[,<maxsize>]
#               expires: <mintime>[,<maxtime>]
#               options: <options>
#       }
#

It seems, that cnfsstat doesn't accept this file format (newsgroups:
before class: statement).

method cnfs {
        newsgroups: alt.binaries.*
        class: 1
        size:
        expires:
        options: BINARIES
}

news-> cnfsstat 
storage.conf:69: Missing 'class' or 'options'
No valid /etc/news/storage.conf.

When I changed the sequence of lines:

method cnfs {
        class: 1
        newsgroups: alt.binaries.*
        size:
        expires:
        options: BINARIES
}

cnfsstat works properly:

news-> cnfsstat
Class BINARIES  for groups matching "*"
 Buffer BUFF00, size:  1.00 GBytes, position:   756 MBytes  0.00 cycles
  Newest: 2002-12-06 10:24:26,    0 days,  0:11:31 ago

though header:

 'Class BINARIES  for groups matching "*" 

doesn't match my definition: 

newsgroups: alt.binaries.*

Best regards,

 Witold Witkowski

 -------------------------------------------------------------------------
| Witold Witkowski                    e-mail:     yawitkow at cyf-kr.edu.pl  |
| Academic Computer Center CYFRONET   phone: (+48 012) 632-33-55 ext. 119 |
| ul. Nawojki 11                                                          |
| 30-950 KRAKOW 61, P.O. Box 386                                          |
| POLAND                                                                  |
 -------------------------------------------------------------------------


More information about the inn-bugs mailing list