/etc/hosts lines starting with white space are ignored

Romain Kang romain at kzsu.stanford.edu
Tue Feb 1 17:21:34 PST 2005


On Tue, Feb 01, 2005 at 06:29:00PM -0500, David Scheidt wrote:
> If a line in /etc/hosts starts with a space or tab, it's not read. I'm 
> not sure that's really a desirable behavior.  I'm quite sure it's not 
> the vehavior I expected.

The format of /etc/hosts has been thus for more than 20 years over
multiple platforms, so it's what everyone else expects.  Sorry.

Romain


More information about the freebsd-hackers mailing list