Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/net
On Mon, Aug 17, 2009 at 11:56:23AM -0700, Paul Goyette wrote:
> Well, if the name contains ONLY digis, then the meaning of
>
> 1.2.3.4
>
> might be ambiguous...
>
> Last I checked, it was still permissible for sysctl(8) to process
> numeric names:
>
> {201} sysctl -M hw.spdmem0
> hw.spdmem0 (6.1176): CTLTYPE_NODE, children 4/8, size 96, flags
> 0x0<READONLY>, ver=420
> hw.spdmem0.spd_data (6.1176.1177): CTLTYPE_STRUCT, size 128, flags
> 0x0<READONLY>, ver=417
> hw.spdmem0.mem_type (6.1176.1178): CTLTYPE_STRING, size 11, flags
> 0x0<READONLY>, ver=418
> hw.spdmem0.size (6.1176.1179): CTLTYPE_INT, size 4, flags
> 0x800<READONLY,IMMEDIATE>, ver=419
> hw.spdmem0.speed (6.1176.1180): CTLTYPE_INT, size 4, flags
> 0x800<READONLY,IMMEDIATE>, ver=420
> {202} sysctl 6.1176
> hw.spdmem0.mem_type = DDR2 SDRAM
> hw.spdmem0.size = 2048
> hw.spdmem0.speed = 800
> {203}
You also can mix names and numbers: 'sysctl proc.1' seems to DTRT.
Dave
--
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 278-3933
Home |
Main Index |
Thread Index |
Old Index