Insert the media.
Notify volume management.
$ volcheck -v media was found
Two status messages are possible:
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).
|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.|
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