[COFF] Pondering the hosts file

Bakul Shah bakul at iitbombay.org
Fri Mar 12 07:21:43 AEST 2021


On Mar 11, 2021, at 1:03 PM, Grant Taylor via COFF <coff at minnie.tuhs.org> wrote:
> 
> On 3/11/21 10:29 AM, Steffen Nurpmeso wrote:
>> Address, "official name", aliases.
>> And as many as you want i'd say.  It is just that an alias might be hidden and never be found (if actually hidden).  This is at least how i interpreted it.
> 
> Please clarify what you mean by "And as many as you want".
> 
> Do you man as many /aliases/ and / or as many /entries/ (lines) in the file?

The FreeBSD man page I quoted from (prob. orig. from 4.2BSD or so) shows no such
restriction so you can have as many aliases as you wnat as and many entries as you
want. But an implementation may have its own limits.

And if you have non-unique names or addresses, be prepared for surprises.



More information about the COFF mailing list