我的内核为linux2.6.22.6,先将移动硬盘和开发板连接好后上电,显示的状态如下:
usb 1-1: reset full speed USB devic
e using s3c2410-ohci and address 2
scsi 0:0:0:0: Direct-Access Maxtor 6 B160P0 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 320173056 512-byte hardware sectors (163929 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 320173056 512-byte hardware sectors (163929 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
用# cat /proc/partitions命令出现的信息为:
major minor #blocks name
31 0 192 mtdblock0
31 1 2048 mtdblock1
31 2 63152 mtdblock2
8 0 160086528 sda
8 1 160079661 sda1
挂载命令下:
# mount -t ntfs /dev/sda1 /mnt
提示信息为:
NTFS volume version 3.1.
这样就不动了,移动硬盘应该时没有挂载上
如果用
# mount -t ntfs /dev/sda /mnt
提示信息为:
mount: mounting /dev/sda on /mnt failed: Invalid argument
以上的信息说明硬盘驱动时没有问题的,
用
cat /proc/filesystems命令内容如下:
nodev proc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev devpts
ext3
ext2
cramfs
nodev ramfs
msdos
vfat
nodev nfs
nodev nfsd
ntfs
nodev jffs2
romfs
yaffs
yaffs2
nodev rpc_pipefs
这说明ntfs格式可以识别,这样驱动和文件系统都是对的,还有哪里有问题?
疑问






请高手指点下,如果需要别的信息请回复,谢谢
最后说明下,FAT32格式下的U盘和硬盘都是实现挂载了的
[ 此帖被feiyangczm在2009-07-25 15:12重新编辑 ]