• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

小声问一下: 关于u盘 mount 的问题

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 23次 | 进入软件测试论坛讨论

领测软件测试网
小声问一下:

我在solarisx86-9 下mount u盘 用的命令是mount -F pcfs /dev/dsk/c1t0d0s0 /mnt 没有任何反应,我在/dev/usb/下发现了几个字符设备文件,请问有啥作用?


向回帖的同志致意.
 :oops:

 procrus 回复于:2003-10-01 22:23:30
http://www.chinaunix.net/forum/viewtopic.php?t=174438

 cdpenghong 回复于:2003-10-01 22:34:47
After 
mount -F pcfs /dev/dsk/c1t0d0s0:c /mnt 

the problem is the same as before (useless)

 cdpenghong 回复于:2003-10-01 23:02:47
我顶了又顶

 procrus 回复于:2003-10-01 23:26:43
2.5.5 USB Memory Sticks
Most newer Sun systems have USB ports. To be recognized and mounted by the Volume Manager, please create a
directory /rmdisk with the same ownership and permission attributes as /cdrom. After a FAT filesystem Memory
Stick was inserted into the USB slot, its content should be readable as /rmdisk/<name>. If this is not the
case, look at freshly created links in /dev/dsk/... pointing to "usb" paths and try a manual mount:
mkdir /tmp/usbstick
mount -F pcfs /dev/dsk/c1t0d0s2:c /tmp/usbstick

 luyingxue 回复于:2003-10-02 16:01:59
顶,狂顶!

 cdpenghong 回复于:2003-10-03 22:21:40
I have tried the method what SUN said(2.5.5 USB Memory Sticks )
It seem the problem remain unchanged.

Gieve me answer that not all kinds USM is supported for SolariosX86-9

Thanks in advance.
Have a good time in National Day

 race 回复于:2003-10-03 22:41:26
如果上面的方法不行,就是你的盘不行,有人用装好过的

 cdpenghong 回复于:2003-10-05 20:11:51
我的U盘是清华同方惠存星钻

 Bimm 回复于:2003-10-06 03:12:36
cdpenghong:
PLS change "c1t0d0s1:c" by your "几个字符设备" or plug-in your U-disk into different USB socket.
for examle, you can  try "c3t0dos1:c" :
mount -F pcfs /dev/dsk/c3t0d0s2:c /mnt
......

 cdpenghong 回复于:2003-10-06 17:04:59
Thanks Bimm,
However for No1 method, I haved tried (mount -F pcfs /dev/dsk/c3t0dos1:c /mnt) the system respond with "require block equipment ";
as for second method I will try ,
anyway I have to thanks for your kind answering.

Regards

 Bimm 回复于:2003-10-06 19:04:20
Hi,
not only try "#mount -F pcfs /dev/dsk/c3t0dos1:c /mnt".
I mean that you must use your "几个字符设备" to change your "c1t0d0s1:c" .Maybe it's "c3t0d0s1:c" ,or "c1t0d0s1:1" ,or "c2t0d0s1:1" ,and so on.
If you have, list your "几个字符设备" for me to change it for you.

 cdpenghong 回复于:2003-10-06 19:37:21
OK, the "几个字符设备" is followed:
/dev/usb/hid0
/dev/usb/hub0
/dev/usb/hub1
/dev/usb/hub2
/dev/usb/mass-storage0

and I entered "mount -F pcfs /dev/usb/mass-storage0
 /mnt"

the result is "block device required"

Pls give me a advice,
Thanks in advance.

 Bimm 回复于:2003-10-06 21:12:28
try
# ls -l /dev/dsk 
to find your right c?t0dos?:?
The ? must are in your computer.
By the way, do you have all rights as admin?

 cdpenghong 回复于:2003-10-08 20:26:07
Yes i have found several file matching c?t0dos?,
then?

and I login as root

 Bimm 回复于:2003-10-09 00:40:38
# #Now you can try it.
# # plug-in U-disk  at a position for c4t0d0s0 which is my case and for your ref:
# ls /dev/usb
hid0           hid2           hub0           mass-storage1
hid1           hid3           mass-storage0
# ls -1 /dev/usb
hid0
hid1
hid2
hid3
hub0
mass-storage0
mass-storage1
# ls -1 /mnt
#
# ls -1 /dev/dsk
c0t6d0s0
c0t6d0s1
c0t6d0s2
c0t6d0s3
c0t6d0s4
c0t6d0s5
c0t6d0s6
c0t6d0s7
c1t1d0s0
c1t1d0s1
c1t1d0s2
c1t1d0s3
c1t1d0s4
c1t1d0s5
c1t1d0s6
c1t1d0s7
c3t0d0s0
c3t0d0s1
c3t0d0s2
c3t0d0s3
c3t0d0s4
c3t0d0s5
c3t0d0s6
c3t0d0s7
c4t0d0s0
c4t0d0s1
c4t0d0s2
c4t0d0s3
c4t0d0s4
c4t0d0s5
c4t0d0s6
c4t0d0s7
c5t0d0s0
c5t0d0s1
c5t0d0s2
c5t0d0s3
c5t0d0s4
c5t0d0s5
c5t0d0s6
c5t0d0s7
# mount -F pcfs /dev/dsk/c4t0d0s0:1 /mnt    ## wait
# ls -1 /mnt
B030922S.doc
B030922d.doc
Tmp
UVPD
# umount /mnt
# ls -1 /mnt
#

 yangzongyin 回复于:2003-10-24 17:06:49
很简单,用命令fdisk -l 看是什么系统格式。

 tth0561 回复于:2003-12-20 18:08:29
用活动硬盘
找到设备,但是mount时提示
corrupt label
wrong magic number

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网