System Administration Guide: Devices and File Systems

ProcedureHow to Access Removable Media on Remote Systems

You can access media on a remote system by manually mounting the media into your file system. Also, the remote system must have shared its media according to the instructions in How to Make Local Media Available to Other Systems.

  1. Select an existing directory to serve as the mount point. Or create a mount point.


    $ mkdir /directory
    

    where /directory is the name of the directory that you create to serve as a mount point for the remote system's CD.

  2. Find the name of the media you want to mount.


    $ showmount -e system-name
    
  3. As superuser, mount the media.


    # mount -F nfs -o ro system-name:/media/media-name local-mount-point
    
    system-name:

    Is the name of the system whose media you will mount.

    media-name

    Is the name of the media you want to mount.

    local-mount-point

    Is the local directory onto which you will mount the remote media.

  4. Log out as superuser.

  5. Verify that the media has been mounted.


    $ ls /media
    

Example 3–5 Accessing DVDs or CDs on Remote Systems

The following example shows how to automatically access the remote DVD named sol_10_1008_sparc from the remote system starbug using AutoFS.


$ showmount -e starbug
export list for starbug:
/media/sol_10_1008_sparc (everyone)
$ ls /net/starbug/media/
sol_10_1008_sparc


Example 3–6 Accessing Diskettes on Other Systems

The following example shows how to automatically access myfiles from the remote system mars using AutoFS.


# showmount -e mars
export list for mars:
/media/floppy (everyone)
$ cd /net/mars
$ ls media
myfiles