*BSD News Article 33092


Return to BSD News archive

Xref: sserve comp.unix.bsd:14379 comp.unix.ultrix:22988 comp.security.unix:6235
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!sgiblab!sgigate.sgi.com!enews.sgi.com!decwrl!vixie!vixie
From: vixie@vix.com (Paul A Vixie)
Newsgroups: comp.unix.bsd,comp.unix.ultrix,comp.security.unix
Subject: gatekeeper (Re: _validuser in lpd.c of FreeBSD for Ultrix, source ??)
Date: 22 Jul 94 02:13:03
Organization: Vixie Enterprises
Lines: 38
Message-ID: <VIXIE.94Jul22021303@office.home.vix.com>
References: <30m4v4$dvu@bigblue.oit.unc.edu> <30mk6s$nb3@zip.eecs.umich.edu>
	<30nub0$89k@belfort.daimi.aau.dk>
NNTP-Posting-Host: office.home.vix.com
In-reply-to: glad@daimi.aau.dk's message of 22 Jul 1994 08:00:32 GMT

a slight correction to this:

> E.g. from gatekeeper.dec.com:/.0/BSD/FreeBSD/FreeBSD-current/<above path>

i'd like to apologize for something.  when i created gatekeeper.dec.com's
ftp archive several years ago, i had to find some way to split roughly 5GB
of data (probably 12GB now) without using hard mount points.  hard mount
points make it harder to slop the bits around as various volumes filled up
and were split.

so i mounted everything as /.N where N started at 0 and is into the hexa-
decimal by now.  everything in the "pub" directory is a symlink, such that
pub/foo -> ../.N/foo.  thus one could always advertise things as "/pub/foo"
even though there were no real files or directories there.  the path would
always work even while the details of file and volume layout changed hourly.

however, i did not hack this knowledge into my version of ftpd, and for this
i apologize.  the path you see quoted above will probably work for everyone
reading that message, but it probably will not work next week.  it will work
the week after.  bits slosh around all the time.  but if you try:

	gatekeeper.dec.com:/pub/BSD/FreeBSD/FreeBSD-current/<above path>
	                    ^^^
instead of

	gatekeeper.dec.com:/.0/BSD/FreeBSD/FreeBSD-current/<above path>
	                    ^^
then it will ALWAYS work.

i would like you to all help me out by pretending that /.N/ in a gatekeeper
ftp path name is really /pub/.  this helps me indirectly since the people who
run gatekeeper now are more likely to smile kindly upon me if they don't get
so many questions from folks wondering why previously existing bits are gone.
--
Paul Vixie
Redwood City, CA
decwrl!vixie!paul
<paul@vix.com>