System Administration Guide: Devices and File Systems

ProcedureHow to Access Information on Removable Media

Steps
  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 2–1 for an explanation of device names.

  3. List the contents of the media.


    % ls /media
    

Example 2–1 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
cdrom0@        solaris_9_sparc

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


$ ls -lL /cdrom/cdrom0
total 24
dr-xr-xr-x   2 root     sys         2048 Dec  3 11:54 s0/
drwxr-xr-x  18 root     root         512 Dec  3 13:09 s1/
drwxr-xr-x   2 root     root         512 Dec  3 13:10 s2/
drwxr-xr-x   2 root     root         512 Dec  3 13:10 s3/
drwxr-xr-x   2 root     root         512 Dec  3 13:10 s4/
drwxr-xr-x   2 root     root         512 Dec  3 13:10 s5/

Access information on a PCMCIA memory card as follows


$ ls /pcmem/pcmem0
pcmem0 myfiles