Subject: Re: recent ifconfig change [was: Re: NetBSD master CVS tree commits]
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 08/06/1998 09:35:31
Jason Thorpe writes:
>  > I wonder how one switches between full and half duplex modes with ifconfig
>  > - do i have to attached the " <full-duplex>" to the media string:
>  > 	ifconfig "100baseTX <full-duplex>"?
> 
> The things in <..> are media options, just like in the old output format. So,
> you'd do:
> 
> 	ifconfig ... media 100baseTX mediaopt full-duplex
> 
> ...just like before.  All I changed was the guts of the parser and the
> format of the media listing.

It would be highly cool if instead of printing "<full-duplex>" it
printed "mediaopt full-duplex", so that people could remember how to
invoke it. I can never remember these things, and often you need to
when you are using a boot floppy and have no manual pages.

Perry