Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: recent ifconfig change [was: Re: NetBSD master CVS tree commits]



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



Home | Main Index | Thread Index | Old Index