System Administration Guide: Basic Administration

How to Load a Removable Media

  1. Insert the media.

  2. Make sure the media is formatted.

    If you aren't sure, insert it and check the status messages in the console, as described in Step 3. If you need to format the diskette, go to How to Format Removable Media (rmformat).

  3. Notify volume management.

    $ volcheck -v
    media was found

    Two status messages are possible:

    media was found

    Volume management detected the media and will attempt to mount it in the directory described in Table 18–1.


    If the media is formatted properly, no error messages appear in the console. 


    If the media is not formatted, the “media was found” message is still displayed, but the error messages similar to the following appear in the Console:


    fd0: unformatted diskette or no diskette in the drive

    fd0: read failed (40 1 0)

    fd0: bad format

    You must format the media before volume management can mount it. For more information, see Chapter 19, Formatting Removable Media (Tasks).

    no media was found

     Volume management did not detect the media. Make sure the media is inserted properly and run volcheck again. If unsuccessful, check the media, it could be damaged. You can also try to mount the media manually.

  4. Verify that the media was mounted by listing its contents.

    For example, do the following for a diskette:

    $ ls /floppy
    floppy0 myfiles

    As described earlier, floppy0 is a symbolic link to the actual name of the diskette, In this case, myfiles. If the diskette has no name but is formatted correctly, the system will refer to it as unnamed_floppy.

    If nothing appears under the /floppy directory, the diskette was either not mounted or is not formatted properly. To find out, run the mount command and look for the line that begins with /floppy (usually at the end of the listing):

    /floppy/name on /vol/dev/diskette0/name

    If the line does not appear, the diskette was not mounted. Check the console window for error messages.