电脑技术学习

在Sun Blade 100上使用优盘小记

dn001
插入优盘前
root@dbcon # ls /dev/usb
hid0 hid1 hub0


插入后
root@dbcon # ls /dev/usb
hid0 hid1 hub0 mass-storage0

root@dbcon # ls -l /dev/usb
total 8
lrwxrwxrwx 1 root root 50 Oct 8 16:42 hid0 -> ../../devices/pci@1f,0/usb@c,3/keyboard@2:keyboard
lrwxrwxrwx 1 root root 44 Nov 19 21:08 hid1 -> ../../devices/pci@1f,0/usb@c,3/mouse@4:mouse
lrwxrwxrwx 1 root root 37 Oct 8 16:42 hub0 -> ../../devices/pci@1f,0/usb@c,3:devctl
lrwxrwxrwx 1 root root 47 Dec 3 12:40 mass-storage0 -> ../../devices/pci@1f,0/usb@c,3/storage@1 :devctl

root@dbcon # ls -l /dev/dsk
total 48
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s0 -> ../../devices/pci@1f,0/ide@d/dad@0,0:a
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s1 -> ../../devices/pci@1f,0/ide@d/dad@0,0:b
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s2 -> ../../devices/pci@1f,0/ide@d/dad@0,0:c
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s3 -> ../../devices/pci@1f,0/ide@d/dad@0,0:d
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s4 -> ../../devices/pci@1f,0/ide@d/dad@0,0:e
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s5 -> ../../devices/pci@1f,0/ide@d/dad@0,0:f
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s6 -> ../../devices/pci@1f,0/ide@d/dad@0,0:g
lrwxrwxrwx 1 root root 38 Oct 8 16:41 c0t0d0s7 -> ../../devices/pci@1f,0/ide@d/dad@0,0:h
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s0 -> ../../devices/pci@1f,0/ide@d/sd@1,0:a
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s1 -> ../../devices/pci@1f,0/ide@d/sd@1,0:b
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s2 -> ../../devices/pci@1f,0/ide@d/sd@1,0:c
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s3 -> ../../devices/pci@1f,0/ide@d/sd@1,0:d
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s4 -> ../../devices/pci@1f,0/ide@d/sd@1,0:e
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s5 -> ../../devices/pci@1f,0/ide@d/sd@1,0:f
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s6 -> ../../devices/pci@1f,0/ide@d/sd@1,0:g
lrwxrwxrwx 1 root root 37 Oct 8 16:41 c0t1d0s7 -> ../../devices/pci@1f,0/ide@d/sd@1,0:h
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s0 -> ../../devices/pci@1f,0/usb@c,3/storage@1 /disk@0,0:a
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s1 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:b
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s2 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:c
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s3 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:d
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s4 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:e
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s5 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:f
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s6 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:g
lrwxrwxrwx 1 root root 51 Dec 3 12:14 c1t0d0s7 -> ../../devices/pci@1f,0/usb@c,3/storage@1/disk@0,0:h

由以上可见,Solaris8系统已识别优盘。但mount的多次都不行,只好老实查man了。

最后:

root@dbcon # mount -F pcfs /dev/dsk/c1t0d0s0:c /mnt
root@dbcon #
root@dbcon # ls -l /mnt
total 100
drwxrwxrwx 1 root other 2048 Nov 22 17:10 SE-105
drwxrwxrwx 1 root other 2048 Nov 22 17:10 SE-M01
drwxrwxrwx 1 root other 2048 Oct 23 01:42 Tables
drwxrwxrwx 1 root other 2048 Aug 12 14:56 Tools
-rwxrwxrwx 1 root other 42766 Dec 3 12:13 vxlic_bak021204
root@dbcon #
root@dbcon # umount /mnt
root@dbcon #

标签: