On Mon, May 02, 2016 at 01:27:50PM +0200, Henning Brauer wrote:
> * Gregor Best <g...@unobtanium.de> [2016-05-01 19:22]:
> > /etc/hostname.if supports IPv4 addresses with a CIDR prefix length:
> > 
> >     inet 10.0.0.1/16
> > 
> > which is not documented in hostname.if(5). The attached patch fixes
> > that. I'm not sure whether describing '/prefixlen' before 'netmask' is a
> > good idea, but it matches the order things have to be specified in and
> > 'netmask' is the next paragraph after '/prefixlen'
> 
> technically, hostname.if doesn't support ip/len notation. It is a
> notation that the hostname parser doesn't grok and just passes on to
> ifconfig. That is the modus operandi for almost everything actually -
> except the classic "inet [addr] [mask] [bcast]" notation. This "dual"
> approach, parsing by netstart vs just passing on to ifconfig, is the
> source of this slightly confusing behaviour.
> 

yep. and someone went to the trouble of trying to make that all nice and
clear, at the top of hostname.if(5). so i don;t see that anything needs
to be done, doc-fix-wise.

jmc

Reply via email to