Wierd symlink in i386/5.4-RC3

Murray Stokely murray at freebsdmall.com
Mon Jun 6 13:18:29 GMT 2005


On Mon, Jun 06, 2005 at 08:11:28AM -0500, mirrors at tds.net wrote:
> 
> Question,
> 
> I noticed a symlink from 5.4-RC3 to . in this Directory:
> 
> /pub/FreeBSD/releases/i386/5.4-RC3/ 

Yes, you will find such a symlink in every release directory.  This is
for the convenience of users doing FTP installations with sysinstall.

I believe that at one point (maybe still works like this) sysinstall
asked for the FTP installation directory, and the user is supposed to
enter ftp.freebsd.org/pub/FreeBSD/releases/i386.  sysinstall
automatically knows the release name from the boot disk.

But if you put ftp.freebsd.org/pub/FreeBSD/releases/i386/5.4-RC3 then
it will try ftp.freebsd.org/pub/FreeBSD/releases/i386/5.4-RC3/5.4-RC3
and this will work due to the symlink.

There would be two ways to fix this - with either 10 lines of string
processing code in sysinstall or by adding the symlinks.  It's just a
one line change to the makefile to generate those symlinks so that was
the solution chosen.

> This was causing MSN search index daemon to eat up one of my http 
> threads...

robots.txt I guess.

- Murray


More information about the freebsd-hubs mailing list