Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!caen!malgudi!osc.edu!karl.kleinpaste From: karl.kleinpaste@osc.edu Newsgroups: comp.unix.admin Subject: Re: what kind of machine am I Message-ID: <1991May7.205332.19042@oar.net> Date: 7 May 91 21:51:21 GMT References: <858@lhdsy1.chevron.com> Sender: news@oar.net Distribution: na Organization: Viento Gigabit Testbed, Ohio Supercomputer Center Lines: 19 Nntp-Posting-Host: ashley.osc.edu At OSU CIS, all officially-supported machines have a file /etc/sysinfo which contains various bits of system-specific information, e.g., pyr:/vmunix:bsd4.3:osx4.4c:/bin/hostname which in general reads as architecture:/KernelName:WhatItLooksLike:WhatVendorCallsIt:HowToGetHostname This is trivially parsed in everyone's .cshrc files so you can then move on from there. We set this up over 3 years ago when the department was first beginning to purchase large numbers of workstations and other disparate hardware. It works very well and is only a minor maintenance headache. Most discless Sun clients, for example, have only a symlink /etc/sysinfo -> /usr/local/sysinfo and then those clients which break the "pattern" for that server have their own, real /etc/sysinfo. --karl