Article View: news.software.nntp
Article #15296Re: Where does the batchfile get truncated? Head or Tail?
From: Eric Mehlhaff
Date: Mon, 24 Feb 1997 00:00
Date: Mon, 24 Feb 1997 00:00
28 lines
1696 bytes
1696 bytes
I was wondering this very thing myself, and to answer that question I took a look at the source code for shrinkfile. At least in inn1.4unoff, it seeks an offset size from the end of file, and copies forward. So, yes, it preserves the data at the end end of the file and throws away the old data at the start. Never trust incomplete documentation --- the source is the best documentation you could hope for! Its just not always that readable. In article <5efcv1$ebe$1@news.iastate.edu>, Rod Eldridge <rod@iastate.edu> wrote: >I'm running INN 1.5.1. The manpage for shrinkfile says that the file >is truncated "preserving the data at the end of the file". While the >manpage for nntpsend.ctl says that the third field, if any, "specifies >the default tail truncation size of site's batchfile". The nntpsend >manpage also says "shrinkfile will be invoked to perform a tail >truncation". > >Does anybody know where the truncation is actually ocurring? At the >head like shrinkfile's manpage says? Or a the tail like the nntpsend >and nntpsend.ctl manpages say? >
Technical Details
Message-ID:
<5ercu1$eo0@nexp.crl.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5efcv1$ebe$1@news.iastate.edu>Show Full Headers
Complete Article Headers
Message-ID: <5ercu1$eo0@nexp.crl.com> Subject: Re: Where does the batchfile get truncated? Head or Tail? Date: Mon, 24 Feb 1997 00:00:00 +0000 From: mehlhaff@crl6.crl.com (Eric Mehlhaff) References: <5efcv1$ebe$1@news.iastate.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 221001370 Organization: CRL Dialup Internet Access (415) 705-6060 [Login: guest] Newsgroups: news.software.nntp