jlliagre |
06-20-2005 12:07 PM |
plug it in, check the O/S detects it:
Code:
# dmesg
...
usba: ... USB-device: storage@1, scsa2usb0 at bus address 3
genunix: ... scsa2usb0 is /pci@0,0/pci1179,1@1d/storage@1
genunix: ... /pci@0,0/pci1179,1@1d/storage@1 (scsa2usb0) online
scsi: ... sd1 at scsa2usb0: target 0 lun 0
genunix: ... sd1 is /pci@0,0/pci1179,1@1d/storage@1/disk@0,0
pseudo: ... pseudo-device: devinfo0
genunix: ... devinfo0 is /pseudo/devinfo@0
genunix: ... /pci@0,0/pci1179,1@1d/storage@1/disk@0,0 (sd1) online
if you got the following, you're unlucky, the card need to be reformatted:
Code:
pcfs: FAT signature error
pcfs: illegal disk format
else, restart vold (won't be necessary in future versions of Solaris)
Code:
# /etc/init.d/volmgt stop
# /etc/init.d/volmgt start
volume management starting.
check a file system has appeared:
Code:
# df -k
Filesystem kbytes used avail capacity Mounted on
...
/vol/dev/dsk/c2t0d0/noname:c
65182 3296 61886 6% /rmdisk/noname
If the key file system has a name, it will be used instead of "noname".
There is always the alias /rmdisk/rmdisk0.
Should you want to mount the USB key manually, disable vold and
use /dev/dsk/c?t0d0p1 (the controller number depends on the platform).
|