System Administration Guide, Volume I

How to Access Diskettes on Other Systems

You can access a diskette on another system by mounting it manually into your file system--provided the other system has shared its diskette drive according to the instructions in "How to Make Local Diskettes Available to Other Systems".

  1. Select an existing directory to serve as the mount point or create one.


    $ mkdir directory
    

    directory

    Is the name of the directory that you create to serve as a mount point for the other system's diskette.  

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

    When you manually mount a remote diskette, you cannot use the floppy0 or floppy1 variables available with your local diskettes. You must use the exact diskette name. To find it, use the ls command on the remote system's /floppy directory. If the automounter is running, you can simply cd to the system whose diskette you want to mount and then use the ls command. If the automounter is not running, you'll have to use another method, such as logging in remotely.

  3. As superuser, mount the diskette.


    # mount -F nfs -o rw system-name:/floppy/diskette-name local-mount-point
    

    system-name

    The name of the system whose diskette you will mount. 

    diskette-name

    The name of the diskette you want to mount 

    local-mount-point

    The local directory onto which you will mount the remote diskette. 

  4. Log out as superuser.

  5. Verify that the diskette is mounted by using the ls command to list the contents of the mount point.


    $ ls /floppy
    

Example--Accessing Diskettes on Other Systems

This example mounts the diskette named myfiles from the remote system mars onto the /floppy directory of the local system.


$ cd /net/mars
$ ls /floppy
floppy0     myfiles
$ su
Password: password
# mount -F nfs rw mars:/floppy/myfiles /floppy
# exit
$ ls /floppy
myfiles