nntpfs – network news transport protocol (NNTP) file system
dials the TCP network news transport protocol (NNTP)
port, 119, on
and presents at
a file system corresponding to the
news articles stored on
option is given, the file system is posted as
option is given,
authenticates to the system with a user name and password
The key specifier is
proto=pass service=nntp server=server user? !password?
The file system contains a directory per newsgroup,
with dots turned into slashes, e.g.,
Each newsgroup directory contains one
numbered directory per article.
The directories follow the numbering used by
Each article directory contains three files:
file contains the full text of the article,
contain only the header or body.
Each newsgroup directory contains a
file that may be used to post news articles.
RFC1036-compliant articles should be written to it.
file will only exist in a given newsgroup directory
if articles are allowed to be posted to it.
Other than that, the
tied to its directory’s newsgroup.
The groups to which articles are eventually posted
are determined by the
header lines in the posted article,
not by the location of the
file in the file system.
The qid version of a newsgroup directory
is the largest numbered article directory it
contains (~0, if there are no articles).
The modification time on a newsgroup
directory is the last time a new article was recorded
To force a check for new articles,
the newsgroup directory.
To force a check for new newsgroups,
the root directory.
Note that this causes the entire list of groups,
which can be about a megabyte,
to be transferred.
To terminate the connection,
the mount point.
makes no effort to send “keepalives” so that
servers do not hang up on it.
Instead, it redials as necessary when hangups are detected.
Authenticate to a private news server:
% echo key proto=pass service=nntp server=nose.mit.edu \
user=rsc !password=secret >/mnt/factotum/ctl
% nntpfs -a nose.mit.edu
Directories are presented for deleted articles;
the files in them cannot be opened.