Subject: Re: Ease of Downloading Packages
To: Curt Sampson <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-pkg
Date: 12/20/2001 14:12:20
>Well, what I want to know is: how did it figure out I'm running on an
>i386, and not a sparc?

I think its the

    if (s_strlcat(sitepath, u.machine, sizeof(sitepath)))
        return NULL;

I cannot speak to the supply of sparcs acutally running FreeBSD, tho :->

NetBSD might need more careful handling of MACHINE_ARCH vs MACHINE,
and smarter 64/32 handling (or more symlinks), but you get the idea.