From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,b899870e28ceaa02 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,b899870e28ceaa02 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-12 14:27:39 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsswitch.lcs.mit.edu!news.uchicago.edu!vixen.cso.uiuc.edu!hardy.tc.umn.edu!news.nodak.edu!not-for-mail From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Newsgroups: comp.unix.tru64,comp.sys.hp.hpux Subject: Re: OSF1/DUNIX/Tru64 features Date: 12 Sep 2001 21:19:36 GMT Organization: North Dakota Higher Education Computing Network (NDHECN) Message-ID: <9nojh8$lkb$2@news.ndsu.nodak.edu> References: <3B98B8FC.B47D14C3@peoplepc.com> <3B995B38.C04805BC@peoplepc.com> NNTP-Posting-Host: dogbert.cc.ndsu.nodak.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.ndsu.nodak.edu 1000329576 22155 134.129.106.23 (12 Sep 2001 21:19:36 GMT) X-Complaints-To: abuse@nodak.edu NNTP-Posting-Date: 12 Sep 2001 21:19:36 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Xref: archiver1.google.com comp.unix.tru64:4861 comp.sys.hp.hpux:13036 In article <3B995B38.C04805BC@peoplepc.com>, Jack Patteeuw wrote: > Okay, I'll add another. > > "Probing" SCSI devices and getting useful information from the running > OS (i.e. file > /dev/rrz*c). That's something I'll no doubt miss too! No other platform that I've seen, including HP-UX, has a file command that will do: sudo file /dev/rdisk/*c /dev/rdisk/cdrom0c: character special (19/22) EIDE #1 "CD-ROM XM-6202B" disk #0 (SCSI ID #0) (SCSI LUN #0) errors = 0/690 offline /dev/rdisk/dsk0c: character special (19/38) SCSI #2 "RZ2CC-KA" disk #1 (SCSI ID #0) (SCSI LUN #0) /dev/rdisk/dsk1c: character special (19/54) SCSI #2 "RZ1BA-BS" disk #2 (SCSI ID #1) (SCSI LUN #0) /dev/rdisk/dsk3c: character special (19/86) SCSI #3 "ZIP 250" disk #4 (SCSI ID #5) (SCSI LUN #0) Note that there are always other ways to get device information, but having file do it when given a character device is *so* handy. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164