Subject: Setting up a sup server
To: NetBSD-current <>
From: Xavier HUMBERT <>
List: current-users
Date: 01/18/2002 22:51:19
Well, the man page for supservers(8) doesen't give a lot of details. The
machine runs fine a a sup client. But I want to set it up as a sup
server for other machines, I have half a dozen running -current, and a very
slow internet link.

I am confusing collection and release, it's even not clear in

What I *get* on the server from is

(output cutted)
[xavier@arnor xavier]$ cat/etc/supfiles/coll.list
current     release=allsrc prefix=/home/ftp/pub/sup/src-current ...
release-1-5 release=allsrc prefix=/home/ftp/pub/sup/src-release ...
current     release=pkgsrc prefix=/home/ftp/pub/sup/ ...
current     release=doc    prefix=/home/ftp/pub/sup/ ...

An I have this hierarchy :

[xavier@arnor xavier]$ ll /home/ftp/pub/sup
total 8
drwxr-xr-x  2 root  staff   512 Jan 17 18:28 doc/
drwxr-xr-x  2 root  staff  1024 Jan 17 18:21 pkgsrc/
drwxr-xr-x  3 root  staff   512 Jan 16 10:17 src-current/
drwxr-xr-x  3 root  staff   512 Jan 16 12:05 src-release/
[xavier@arnor xavier]$ ll /usr
total 0
lrwxrwxr-x  1 root  staff  23 Dec 27 14:32 doc@ -> ../home/ftp/pub/sup/doc
lrwxrwxr-x  1 root  staff  26 Dec 27 14:32 pkgsrc@ -> ../home/ftp/pub/sup/pkgsrc
lrwxrwxr-x  1 root  staff  35 Dec 27 14:32 src@ -> ../home/ftp/pub/sup/src-current/src

How to *serve* this to my machines in the LAN ?
What do I have to put in /etc/supfiles/coll.dir| ?
Even if I don't run supscan, supfilesrv will use /usr/sup/<collection>/whatever,
right ?

Thanks for any help,