From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Milligan, Eric T." Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Mounting CD-ROM via a link Date: Mon, 12 Jan 2004 10:53:23 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1073933633 23533 80.91.224.253 (12 Jan 2004 18:53:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2004 18:53:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jan 12 19:53:49 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Ag7C9-0007v1-00 for ; Mon, 12 Jan 2004 19:53:49 +0100 Original-Received: (qmail 31696 invoked by uid 5); 12 Jan 2004 18:53:40 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31681 invoked by uid 49493); 12 Jan 2004 18:53:40 -0000 Original-Received: from Eric.Milligan@ngc.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.9/5.0):. Processed in 0.890612 secs); 12 Jan 2004 18:53:40 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 12 Jan 2004 18:53:39 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRE006GO4HE56@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Jan 2004 13:53:39 -0500 (EST) Original-Received: from xcgtx812.ngxcgtxr1.com (xcgtx812.northgrum.com [208.20.220.60]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRE0068Q4HAPD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Jan 2004 13:53:34 -0500 (EST) Original-Received: by xcgtx812.northgrum.com with Internet Mail Service (5.5.2656.59) id ; Mon, 12 Jan 2004 10:53:33 -0800 Content-return: allowed Original-To: "Tru64-Unix-Managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:6180 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6180 Original problem was trying to link /dev/cdrom to actual CD-ROM device for mounting. As suggested by respondents, I tried mounting with just the device base name, I removed the cdrom from the HW database and re-added it (fixing my link), and I tried using rz-style device names, all to no avail. It seems the root problem is that mount doesn't follow symlinks as it did in 4.0F. Thanks to Dr. Thomas Blinn, Ing. Raul Sossa Sossa, and Iain Barker for their suggestions. Dr Blinn's (edited) reply: ------------------------------------------------------------------------ Without doing more research than I really want to do I have to guess that "mount" is getting in the way. There is no rule that I know of that says "mount" has to follow symlinks, and it's possible that it isn't being clever about symlinks; it needs to know how to find the raw device to do the mount, even though you point it to the block device. Have you tried just using the name of the cdrom, e.g., cdrom0c, with no other stuff (that is, just the device base name)? That might work and might be easier than other tricks that used to work. ------------------------------------------------------------------------ Ing. Raul Sossa Sossa's reply: ------------------------------------------------------------------------ Probably, your hardware database is not completely consistent: you should consider a "hardware -delete component -id "cdromhwid"" and a "hwmgr -scan scsi" to recognize the cdrom device again. ------------------------------------------------------------------------ Iain Barker's reply: ------------------------------------------------------------------------ Just an idea, does 'dsfmgr -O' help at all? That allows rz-style device names to be used on 5.x ------------------------------------------------------------------------