Source-Changes-D archive

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

Re: CVS commit: src/sys/net



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}

On Mon, 17 Aug 2009, Alan Barrett wrote:

On Sun, 16 Aug 2009, David Young wrote:
net.interfaces.3.name=xvif0.0
net.interfaces.3.sndq.maxlen=...

sure, that would work.

Except for the fact that a sysctl node name cannot begin with a digit.

What's stopping us from removing that restriction?

--apb (Alan Barrett)


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index