免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12345下一页
最近访问板块 发新帖
查看: 5907 | 回复: 42
打印 上一主题 下一主题

在Sun Blade 100上使用优盘小记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-12-03 15:51 |只看该作者 |正序浏览
[这个贴子最后由linuxe在 2002/12/03 04:28pm 编辑]

插入优盘前
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 #

ok

论坛徽章:
0
43 [报告]
发表于 2004-06-29 20:59 |只看该作者

在Sun Blade 100上使用优盘小记

[quote]原帖由 "落伍者"]插入U盘后,ls /dev/usb查看,U盘已经认到。ls -s /dev/dsk/后出现一系列信息。如楼主如何判断/dev/dsk/c1t0d0s0就是U盘?我这里显示的内容比楼主更多,因为PC机USB接口比较多吧。我现在不知道应该选择哪个去mount,?.........[/quote 发表:


请再参考一下原文黑体字部分,俺刚加了点标识。

论坛徽章:
0
42 [报告]
发表于 2004-05-11 17:13 |只看该作者

在Sun Blade 100上使用优盘小记

插入U盘后,ls /dev/usb查看,U盘已经认到。ls -s /dev/dsk/后出现一系列信息。如楼主如何判断/dev/dsk/c1t0d0s0就是U盘?我这里显示的内容比楼主更多,因为PC机USB接口比较多吧。我现在不知道应该选择哪个去mount,请指点。

论坛徽章:
0
41 [报告]
发表于 2002-12-07 02:36 |只看该作者

在Sun Blade 100上使用优盘小记

下面引用由jorsa2002/12/05 05:54pm 发表的内容:
挨, 我是直第二次也不mount直接用
我琢磨你这话有5分钟,楞是没有明白。。。

论坛徽章:
0
40 [报告]
发表于 2002-12-05 17:54 |只看该作者

在Sun Blade 100上使用优盘小记

挨, 我是直第二次也不mount直接用

论坛徽章:
0
39 [报告]
发表于 2002-12-05 16:10 |只看该作者

在Sun Blade 100上使用优盘小记

用root试过。

拔出后,下次再mount就不成了,提示原来那个mount point已在用。

所以还是umount的好些吧。

论坛徽章:
0
38 [报告]
发表于 2002-12-05 15:59 |只看该作者

在Sun Blade 100上使用优盘小记

linuxe
你有没试国我那样不umount直接拿下再插上用
挨,没有root权限就是不爽

论坛徽章:
0
37 [报告]
发表于 2002-12-05 15:25 |只看该作者

在Sun Blade 100上使用优盘小记

下面引用由jorsa2002/12/05 02:18pm 发表的内容:
凤凰MM? who

套句山话:“本坛人都知道呀”

http://www.chinaunix.net/cgi-bin/bbs/topic.cgi?forum=3&topic=17472&show=0

论坛徽章:
0
36 [报告]
发表于 2002-12-05 15:19 |只看该作者

在Sun Blade 100上使用优盘小记

下面引用由sunuser2002/12/05 10:25am 发表的内容:
找了一个ecom优盘。下面是我安装优盘的过程,请楼主指点!
插入后在/dev/dsk和/dev/usb下,发现新设备。
# pwd
/dev/dsk
...

不好意思啦,谈不上指点。关于优盘我也没有太多的经验,只是我的运气好了点而已

请试试先devfsadm后,再mount.
也请试试
mount -F pcfs /dev/dsk/c4t0d0s2:c /mnt
或 c4t0d0s2:d ... 等  

论坛徽章:
0
35 [报告]
发表于 2002-12-05 14:18 |只看该作者

在Sun Blade 100上使用优盘小记

凤凰MM? who
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP