System Administration Guide: Devices and File Systems

ProcedureHow to Access Information on Removable Media

  1. Insert the media.

    The media is mounted after a few seconds.

  2. List the contents of the media.


    % ls /media
    

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


Example 3–1 Accessing Information on Removable Media

This example shows how to access information on a diskette.


$ ls /media/floppy

This example shows how to access information on a USB memory stick.


$ ls /media/usb-name

This example shows how to access information on a DVD or CD.


$ ls /media
sol_10_1008_sparc  cdrom

This example shows how to view the symbolic links on a DVD or CD.


$ ls -lL /cdrom/cdrom0
total 929
-r--r--r--   1 root     root        6557 Jul 31  2008 Copyright
-r--r--r--   1 root     root      460262 Jul 31  2008 JDS-THIRDPARTYLICENSEREADME
drwxr-xr-x   2 root     bin         2048 Oct 27 13:20 License
drwxr-xr-x   7 root     root        2048 Oct 27 13:21 Solaris_10
drwxr-xr-x   2 root     root        2048 Oct 27 13:21 boot
-rwxr-xr-x   1 root     root         257 Oct 27 12:57 installer
drwxr-xr-x   5 root     root        2048 Oct 27 13:21 platform