System Administration Guide: Basic Administration

How to Access Information on Removable Media

  1. Insert the media.

    The media is mounted after a few seconds.

  2. Check for media in the drive.


    % volcheck
    

    Use the appropriate device name to access information by using the command-line interface. See Table 18–1 for an explanation of device names.

  3. List the contents of the media.


    % ls /media
    

Examples—Accessing Information on Removable Media

Access information on a diskette as follows:


$ volcheck
$ ls /floppy
myfile

Access information on a Jaz drive as follows:


$ volcheck
$ ls /rmdisk
jaz0/		jaz1/

Access information on a CD-ROM as follows:


$ volcheck
$ ls /cdrom
solaris_9_sparc/

View the symbolic links on a CD-ROM as follows:


$ ls -lL /cdrom/cdrom0
total 166
drwxr-xr-x   4 root     root        2048 Jul 21 05:18 MU
drwxr-xr-x   4 root     root        2048 Jul 21 05:18 Solaris_7_MU3
-rwxr-xr-x   1 root     root       30952 Jul 21 05:18 backout_mu
-rwxr-xr-x   1 root     root       49604 Jul 21 05:18 install_mu

Access information on a PCMCIA memory card as follows


$ ls /pcmem/pcmem0
pcmem0 myfiles