SUMMARY: Mounting CD-ROM via a link

From: Milligan, Eric T. (Eric.Milligan@ngc.com)
Date: Mon Jan 12 2004 - 13:53:23 EST


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
------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:48 EDT