From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Adametz, Bluejay" Newsgroups: gmane.os.tru64.managers Subject: Console device names Date: Fri, 14 Jun 2002 08:20:58 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200206151202.g5FC2Kh03957@gate.fujigreenwood.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1024142359 9108 127.0.0.1 (15 Jun 2002 11:59:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2002 11:59:19 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17JCD9-0002Mg-00 for ; Sat, 15 Jun 2002 13:59:19 +0200 Original-Received: (qmail 7496 invoked by uid 5); 15 Jun 2002 11:59:08 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7488 invoked from network); 15 Jun 2002 11:59:08 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 15 Jun 2002 11:59:08 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GXQ00GZ4XAKWV@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 15 Jun 2002 07:59:08 -0400 (EDT) Original-Received: from gate.fujigreenwood.com (gate.fujigreenwood.com [204.238.252.2]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GXQ002BHXAHAA@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 15 Jun 2002 07:59:06 -0400 (EDT) Original-Received: from gate.fujigreenwood.com (root@localhost) by gate.fujigreenwood.com with ESMTP id g5FC2Kh03957 for ; Sat, 15 Jun 2002 08:02:20 -0400 (EDT) Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) X-H-S-Loop-Check-Ejzfr: Xref: main.gmane.org gmane.os.tru64.managers:586 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:586 I'm working on some disaster recovery scripts, and my objective is to automate everything as much as possible. My objective is to have a procedure that says "run this script on the spare machine and *poof* you'll have a bootable copy of machine B". One thing that I'd like to be able to do is determine the console device names for disks that I restore stuff to, so I can automatically set bootdef_dev, or at least display specific commands to make it happen. Is there some utility that will take a V5 device special file and tell me what the corresponding console device name would be? For example, I know I restored the backups to dsk10; how can I determine that that corresponds to DRA0 at the console level? Thanks in advance. - Bluejay Adametz Definition: Elbonics n. The actions of two people maneuvering for one armrest in a theater.