SCANSPOOL(8)
π SCANSPOOL(8) π
okay so this is InterNetNews Documentation, and bestie, we are about to do a whole sanity scan over a news spool. no cap, it's giving system-maintenance main character energy.
πΈ NAME πΈ
scanspool β Perform a sanity scan over all articles in news spool
β¨ SYNOPSIS β¨
scanspool [-cnrv] [-a active-file] [-s spool-dir]
π¦ DESCRIPTION π¦
okay so scanspool is a Perl script for use with a tradspool article spool. it will scan the active file as well as all articles in the spool and report on the errors it encounters. and bestie, this may take a while, so using the -v switch is recommended to see how far the program has progressed. literally watch it cook.
scanspool will skip any file named other than just all-digits when treating the contents of the news spool. yep, if it's not just numbers, it's not the vibe for this scan. π
First, scanspool scans the active file, noting problems such as:
- malformed lines;
- duplicate entries;
- newsgroups aliased to a non-existent newsgroup;
- newsgroups aliased to a newsgroup that is also aliased.
Then it will examine all articles under your news spool directory, complaining about articles that:
- have a basename that starts with a leading
0; - have a basename that is out of range according to the low and high water marks of the active file;
- do not contain a
Newsgroupsheader field; - are in a directory for which there is no newsgroup in the active file;
- are in a newsgroup to which they do not belong.
scanspool will also complain about directories with an all-digit component, in case the parent directory is a newsgroup with a high water mark below that all-digit component, as the name of such directories will conflict with a future article file with the same name. so messy, but the scan is gonna call it out. π
scanspool understands aliased newsgroups. Thus, if an article is posted to foo.old.name that is aliased to foo.bar, it will be expected to be found under foo.bar and not foo.old.name. slay, aliases are respected.
scanspool assumes that the path of a valid newsgroup's directory from the root of the spool tree will not contain any "." character. Thus, directories such as out.going, tmp.dir, in.coming and news.archive will not be searched. this program also assumes that article basenames contain only decimal digits. Last, files under the top level directory lost+found are not scanned. iconic boundaries, honestly.
π OPTIONS π
-a active-fileβ The active file to use;pathdb/activeis the default.-cβ Only check article filenames.scanspoolwill therefore not actually scan theNewsgroupsheader field of the articles. it's giving filename-only speedrun.-nβ Don't throttleinndwhile scanning.-rβ Remove articles reported to have a problem. To see the list of articles in question, runscanspoolwithout this flag first.
Be warned that using this flag may result in inaccessible articles if articles are removed whereas they are perfectly valid articles. Have a look at them to ensure they can be safely removed, and then use this flag. pls pls pls actually look at them first, bestie. π
-s spool-dirβ The root of the spool tree;patharticlesis the default.-vβ Setting this flag enables a verbose mode.scanspoolwill then print which newsgroup is currently worked upon. It will list all the articles found in non-active directories (that is to say articles sorted into groups no longer present in the active file), rather than just printing the group once. verbose mode is the group-chat updates of this whole operation. π«Ά
π DIAGNOSTICS π
The output of scanspool will start with one of the following forms:
"FATAL:"(to stderr) β Fatal or internal error."WARNING:"(to stderr) β active or article format problem, newsgroup alias problem,find(1)error, article open error."path/123:"(to stdout) β Issues such as:- basename starts with
0; - article number out of range;
- article in the wrong directory;
- article in a directory not related to an active non-aliased newsgroup.
- basename starts with
"\t ..."(to stdout) β Verbose messages start with a tab.
π HISTORY π
scanspool was written by Landon Curt Noll (chongo was here /\../\).
This manual page was written by Florian Schlichting, largely based on comments in the script. giving credit where credit is due, periodt.
π SEE ALSO π
xoxo bestie, this page is from INN 2.7.4, dated 2024-05-19 π
π¦ where this page comes from
- arch rolling: inn 2.7.4-4 Β· ISC
- epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms