The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
can't mount cdrom niamh UNIX for Dummies Questions & Answers 3 01-29-2009 08:58 PM
Remote mount of a cdrom leond UNIX for Dummies Questions & Answers 3 03-12-2003 10:05 AM
mount cdrom q30 UNIX for Advanced & Expert Users 2 01-10-2003 02:06 AM
mount cdrom hassan2 UNIX for Dummies Questions & Answers 5 06-25-2002 09:04 PM
mount cdrom Stormpie UNIX for Dummies Questions & Answers 2 01-23-2002 05:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-06-2008
psyduck psyduck is offline
Registered User
  
 

Join Date: Jan 2008
Location: Near Ghent, Belgium
Posts: 1
mount directory as cdrom

Hi guy's, my first post here on the forum
I did a quick search here, but did not find a direct hit, so decided to post my question.

I'm taking my first steps into AIX, and right now I'm trying to install some software that I've downloaded as a zip file, and have this extracted into a mounted NFS drive.

Now I was wondering if and how it is possible to mount that directory as a cdrom filesystem.

So basically I have:

Code:
root[spocb62m-5.3]/downloads/tivfwk14/TAM61/C1AV2ML

And I would like to have that mounted as cdrom.

I know I've done something similar before, but I have totally forgotten how

I hope I'm making sense here
  #2 (permalink)  
Old 08-06-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,641
Well, you can't mount something "as CDROM" unless it actually *is* a CDROM. The reason is, that "CDROM" is (among other things) a certain filesystem format (known as "ISO 9660").

What you can do of course is mounting the filesystem read-only. Use the "-o ro" option to the mount-command for that purpose or export the directory as read-only, which is done in /etc/exports (run "exportfs -va" after changing the file to bring the changes into effect - or, better yet, as you say you are an AIX beginner - use "smitty exports" to make your changes via a guided-tour-interface).

I hope this helps.

bakunin

PS: on second thoughts, you need a file called ".toc" in the directory where you install from. It is created automatically by SMIT during the installation process, but if you mount the FS readonly it cannot be created. Run "inutoc ." in this case on the machine exporting the NFS share in the directory whith the installable packages. You do not need all this if the packages are all .rpm-packages. You only need to do it when installing native .bff-packages via "installp".

bakunin
Closed Thread

Bookmarks

Tags
installp, nfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0