Subject: re: sysctl hw.model considered useless
To: Bernd Sieker <bsieker@freenet.de>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 12/13/2002 23:32:27
It's different on different ports. On i386 it reports the CPU model
because that's the only sensible thing to do. It usually cannot
determince whether it's a Compaq Deskpro or an IBM Netfinity Server.
On the other architectures I've tested it reports the computer model,
with the CPU model in parantheses:
hpcmips:
IBM WorkPad z50 2601 1AU (NEC VR4121 rev0.0 131.072MHz)
hp300:
HP 9000/400 (50MHz MC68030 CPU+MMU, 50Mhz MC68882 FPU, 32k physical-address cache)
hmm.. perhaps i should make it become, eg:
hw.model = SUNW,SPARCstation-20 (TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU)
hw.model = SUNW,Ultra-1 (SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU)
i have it working with what i formerly posted, eg:
# sysctl hw.model
hw.model = SUNW,SPARCstation-10
.mrg.