中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 操作系统 > Solairs
在Solaris上使用优盘小记
作者:未知 时间:2005-09-13 22:53 出处:Blog.ChinaUnix.net 责编:chinaitpower
              摘要:在Solaris上使用优盘小记

本文详细的介绍了怎样在unix系统上使用u盘,很方便的....

感兴趣的朋友不妨试试......

在Solaris上使用优盘小记
插入优盘前
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 #

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有