The following steps can be used to mount a USB key under Solaris 10.
Check to see whether a /rmdisk
directory already exists.
# ls /rmdisk
zip zip0
In this case, the system, which happens to be a PC running Solaris 10,
has a Zip drive and the directory already exists. If it didn't, you would
use mkdir /rmdisk
to create it.
Insert the USB key, aka flash memory or USB memory, into the system. Stop and
then restart volmgmt.
# /etc/init.d/volmgt stop
# /etc/init.d/volmgt start
volume management starting.
You can use the mount
command to list the mounted drives and pipe
the results to the grep command to search for the USB key or you can just
use ls /rmdisk
and look for usbmemory
.
# mount | grep rmdisk
/rmdisk/usbmemory on /vol/dev/dsk/c3t0d0/usbmemory:c read/write/setuid/devices/nohidden/nofoldcase/dev=1741001 on Wed Nov 16 11:45:28 2005
/rmdisk/zip on /vol/dev/dsk/c0t0d0/zip:c read/write/setuid/devices/nohidden/nofoldcase/dev=1741002 on Wed Nov 16 11:45:30 2005
# ls /rmdisk
rmdisk2 usbmemory zip zip0
You should then be able to find the contents of the USB drive under
/rmdisk/usbmemory
or perhaps under
/rmdisk/unnamed_rmdisk
.