Before proceeding, be sure to install the latest USB patches. The list of current USB patches can be found on SunSolve[SM]. After installing any USB patch, the machine will need a reboot.
See the mount(1M) man page for more details on the 'mount' and 'umount' commands.
If the disk is unformatted and creating a filesystem is necessary, see Document ID 76911.
===============================================
Mounting a USB Mass Storage device without VOLD
===============================================
1. Identify the symbolic link in the '/dev/dsk/' directory for the device you want to mount. In this example we are looking for all usb storage links. The slice links comprise of S0-S7. Slice c1t0d0s2 will be used in this document.
# ls -l /dev/dsk | grep usb
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s0 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:a
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s1 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:b
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s2 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:c
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s3 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:d
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s4 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:e
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s5 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:f
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s6 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:g
lrwxrwxrwx 1 root root 51 Feb 7 10:53 c1t0d0s7 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:h
#
Optional : You may have stale '/dev/' links that could become cumbersome and misleading to work with. To clean this up, use the Cleanup mode of the devfsadm(1M) command :
# devfsadm -C
Symbolic links for USB devices are found in the '/dev/usb/' directory. The USB Mass Storage devices appear as 'mass-storageX', where "X" is an index number.
# ls -l /dev/usb/mass-storage*
lrwxrwxrwx 1 root root 49 Feb 7 22:27 /dev/usb/mass-storage0 -> ../../devices/pci@1f,0/usb@c,3/storage@3:scsa2usb
For these same devices, symbolic links are also created in the '/dev/dsk/' and /dev/rdsk/' directories.
# ls -l /dev/dsk_/*s2 | grep usb
lrwxrwxrwx 1 root root 51 Feb 7 10:53 /dev/dsk/c1t0d0s2 -> ../../devices/pci@1f,0/usb@c,3/storage@3/disk@0,0:c
2. Become Super User.
3. Mount the USB Mass Storage device filesystem.
Here is the basic command :
# mount -F <fs-type> /dev/dsk/<cXtXdXsX> <mount-point>
Where "X" is the appropriate values for your device (See step 1).
Here are some examples of mounting various devices.
A. For Solaris[TM] filesystem on usb flash drive.
# mount -F ufs /dev/dsk/c1t0d0s2 /mnt
B. For a read-only CD-ROM filesystem (hsfs) :
# mount -F hsfs -o -ro /dev/dsk/c1t0d0s2 /mnt
C. For devices with pcfs (FAT) filesystems (Zip, Jaz, Flash or "key"-style) :
# mount -F pcfs /dev/dsk/c3t0d0s2:c /mnt
4. Verify the filesystem is mounted.
A. Use the mount(1M) command
Example :
# mount | grep /mnt
/mnt on /dev/dsk/c1t0d0s2 read/write/setuid/intr/largefiles/......
#
B. Use the cd(1) and/or ls(1) commands
Example :
# cd /mnt
# ls /mnt
C. Use the df(1M) and/or du(1) commands
Example :
# df /mnt
# du /mnt
====================================
Unmounting a USB Mass Storage Device
====================================
1. Become Super User.
2. Unmount the USB mass storage device.
Here is the basic command :
# umount <mount-point>
Example :
# umount /mnt