天嵌 ARM开发社区

 找回密码
 注册
查看: 1627|回复: 5

关于测试U盘实验

[复制链接]
DonyChen 发表于 2010-1-26 22:35:13 | 显示全部楼层 |阅读模式
插入U盘后,超级终端没有显示U盘的设备文件号,象<开发板使用手册V2.0>那样的
该怎么挂载??

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
ntlbl 发表于 2010-1-27 11:43:28 | 显示全部楼层
看看 mnt/udisk目录下有没有你U盘的内容呢?
有,就可以访问了,我是有的。
 楼主| DonyChen 发表于 2010-1-27 21:29:08 | 显示全部楼层
没有
mnt下面有udisk和sd两个文件夹,但里面没有内容
 楼主| DonyChen 发表于 2010-1-27 21:46:47 | 显示全部楼层
挂载失败

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| DonyChen 发表于 2010-1-27 22:27:08 | 显示全部楼层
Disk /dev/sda: 2121 MB, 2121269248 bytes
66 heads, 62 sectors/track, 1012 cylinders
Units = cylinders of 4092 * 512 = 2095104 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   ?      190161      469122   570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(190160, 19, 11)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(469121, 38, 51)
Partition 1 does not end on cylinder boundary
/dev/sda2   ?       41225      514350   968014120  65 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(41224, 14, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(514349, 26, 42)
Partition 2 does not end on cylinder boundary
/dev/sda3   ?      456961      930086   968014096  79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(456960, 18, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(930085, 29, 39)
Partition 3 does not end on cylinder boundary
/dev/sda4   ?           1      888863  1818613248   d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(888862, 51, 30)
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order
[root@EmbedSky /]# mount /dev/sda /mnt/udisk
[root@EmbedSky /]# cd /mnt/udisk
[root@EmbedSky udisk]# ls
sss.txt
[root@EmbedSky udisk]#

以上,我用mount /dev/sda /mnt/udisk
就可以挂载成功了,好象和使用手册说的方法不同,
高手可以告诉我有什么区别吗??
亚瑟王 发表于 2010-1-28 22:13:38 | 显示全部楼层
楼主没有仔细看手册哦,手册里面讲了的,对于只出现sda而不出现sda1的需要重新配置自动挂载脚本或手动挂载U盘哦。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 20:33 , Processed in 1.042902 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表