1849056 Members
6437 Online
104041 Solutions
New Discussion

Re: dummy cd-rom

 
Kurtkarl
Frequent Advisor

dummy cd-rom

hi,

I had this 3 directories named CDROM1, CDROM2 and CDROM3 and got the installation files on it. Now I had to run this installation script. During the installation it looks for mounted /cdrom which in this case we just copied the files orignally from the cd-rom on the directories I mentioned above.

How would I make the system know that this CDROM's directory are the mounted /cdrom he was looking during for?

Would there be a command to mount this directories as if it was an ordinary mounted /cdrom?

Thanks in advance
jose
Just starting to learn thru this forum
8 REPLIES 8
Rick Garland
Honored Contributor

Re: dummy cd-rom

The script would need to know that the files are in different locations.
BTW, is this a script on the CDROM itself?
In which case, no need to copy the files to the HD, just leave them on the cdrom
and the script will know where to look for the files it needs.

Taking room on the HD by copying the files.
Kurtkarl
Frequent Advisor

Re: dummy cd-rom

Rick,

thks for the quick reply, first we dont have a cdrom copy of this. We just got it from a tar file and produce this 3 directories when we untar it. We untar'ed this on our NFS directory so that other developer can install this software on their workstation.

When I run the installation script it has menus and one of the menu does is to locate the cdrom for he needs to know where to get the files needed during installation which in our case is on the directory.

Thanks
Jose
Just starting to learn thru this forum
Kofi ARTHIABAH
Honored Contributor

Re: dummy cd-rom

how about creating a soft link to the /CDROM1 directory

# ln -s /CDROM1 /cdrom

nothing wrong with me that a few lines of code cannot fix!
Rick Garland
Honored Contributor

Re: dummy cd-rom

Create a sym link to the directory.

Kurtkarl
Frequent Advisor

Re: dummy cd-rom

kofi,

Tried it before but it only gives me an error "Specified device cannot be used".

Thanks
Jose
Just starting to learn thru this forum
Antoanetta Naghiu
Esteemed Contributor

Re: dummy cd-rom

cdrom is cdfs file system, /cdrom is hfs or vxfs... I'm wonder if you try to make a newfs type cdfs in a logical volume... is or is not going to work? If that work you can copy the file there, but I doubt it....
Kurtkarl
Frequent Advisor

Re: dummy cd-rom

guys,

I have manage to re-direct the script to use the actual directory. Anyway, thanks for all the replies. Really appreciate it. Anyways, just in case you were able to come up with a solution on the same problem please do let me know.

Thanks a lot
Jose
Just starting to learn thru this forum
Andy Monks
Honored Contributor

Re: dummy cd-rom

You could try mounting the direcory the files are in under /cdrom

hp-ux support lofs. the command would be something like :-

mount -F lofs /cdrom