Date: Tue, 4 Feb 2003 17:10:21 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: tim-lists@bishnet.net (Tim Bishop) Cc: freebsd-hubs@FreeBSD.ORG, t.d.bishop@ukc.ac.uk Subject: Re: ls-lR.gz on ftp.freebsd.org Message-ID: <200302041610.h14GALSK004747@lurza.secnetix.de> In-Reply-To: <20030204150900.GQ1987@myrtle.ukc.ac.uk> from "Tim Bishop" at Feb 04, 2003 03:09:00 PM
next in thread | previous in thread | raw e-mail | index | archive | help
Tim Bishop wrote: > A specific example is the directory /pub/FreeBSD/branches/-current. On > ftp.freebsd.org this only contains a single tar file, but in the ls-lR > file there's a whole tree of files. > > My guess is that the ls-lR.gz file is generate on ftp-master, and > ftp.freebsd.org isn't quite in sync with it? At ftp7.de.freebsd.org, we do not mirror the ls-lR.gz file, but instead we generate it ourselves (via cron, once per night), so it reflects our actual content (which is more than ftp-master). Same for the dir.sizes file. Regards Oliver PS: This is the cron script: #!/bin/sh - /usr/bin/renice -n 10 -p $$ 2>/dev/null # be nice :-) cd /pub/FreeBSD umask 077 # temp. files should be inaccessible du -kd3 > dir.sizes.new chmod 664 dir.sizes.new mv -f dir.sizes.new dir.sizes ls -lR > ls-lR gzip -c -9 ls-lR > ls-lR.gz.new rm ls-lR chmod 664 ls-lR.gz.new mv -f ls-lR.gz.new ls-lR.gz -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302041610.h14GALSK004747>