LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mount Commands (https://www.linuxquestions.org/questions/linux-general-1/mount-commands-1185/)

CropA 03-07-2001 05:31 AM

I,m trying to mount a cdrom on another machine for installaion purposes with RedHat 5.2, Can anyone help us with the Commands please.
Regards
CropA

trickykid 03-07-2001 06:14 AM

At the shell prompt:

# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom
# ls

There you go, you should be able to list and see all the files on the cdrom if you follows those commands and get no errors.
Use umount to unmount the cd or type eject. Not sure if eject will work in RH 5.2 but it is easier than using umount.

Have fun.

CropA 03-07-2001 07:21 AM

Thanx for that trickykid, but what if i need to mount a directory of a server from a local machine, do you have to specify the servername or ip. I,m trying to copy a program to install from a dir called java on the server.
would the path be something like:
mount 10.0.0.1:\root \mnt\java
How does the local machine know the path of the servername to mount.

Regards
CropA



trickykid 03-07-2001 07:45 AM

Well, I don't think that is going to work. How do you have you network setup? Do you have NFS setup, or Samba? You could telnet into the machine, well or SSH which is more secure.

CropA 03-07-2001 09:05 AM

The server has a ip of 10.0.0.1 and my local machine is 10.0.0.7, When i installed from the server the other day i did the NFS option. Only problem is that these standalones dont have any cdroms so were having to connect to the server to use its facilities. Security isn,t really a issue at the moment has where just covering the basics of Administration.
Its just the command to either mount the server cdrom or a command to access a dir on the server.


All times are GMT -5. The time now is 01:19 PM.