mount不上fat32分区,

mount不上fat32分区,

strace mount  -t vfat /dev/hda1 /mnt/c 了一下,请高手指教


execve("/bin/mount", ["mount", "-t", "vfat", "/dev/hda1", "/mnt/"], [/* 20 vars */]) = 0
uname({sys="Linux", node="jinna", ...}) = 0
brk(0)                                  = 0x805c000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35042, ...}) = 0
old_mmap(NULL, 35042, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff7000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\273"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1455084, ...}) = 0
old_mmap(0x827000, 1158124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x827000
old_mmap(0x93c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x115000) = 0x93c000
old_mmap(0x940000, 7148, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x940000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff6000
mprotect(0x93c000, 8192, PROT_READ)     = 0
mprotect(0x823000, 4096, PROT_READ)     = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ff6460, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7ff7000, 35042)               = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=40246896, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7df6000
mmap2(NULL, 610304, PROT_READ, MAP_PRIVATE, 3, 0x2086) = 0xb7d61000
brk(0)                                  = 0x805c000
brk(0x807d000)                          = 0x807d000
brk(0)                                  = 0x807d000
close(3)                                = 0
umask(022)                              = 022
open("/dev/null", O_RDWR|O_LARGEFILE)   = 3
close(3)                                = 0
getuid32()                              = 0
geteuid32()                             = 0
lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=184, ...}) = 0
stat64("/sbin/mount.vfat", 0xbffff870)  = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN], NULL, = 0
mount("/dev/hda1", "/mnt/", "vfat", 0xc0ed0000, 0) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN], NULL, = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d60000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7d60000, 4096)                = 0
open("/usr/share/locale/zh_CN/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/zh/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "mount: wrong fs type, bad option"..., 103mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems
) = 103
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...}) = 0
open("/dev/hda1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
ioctl(3, BLKGETSIZE, 0xbffff9a0)        = 0
close(3)                                = 0
exit_group(32)                          = ?
终于可以了,codepage弄错了
strace的命令是显示跟踪信息,为什么你用在挂载分区上,请明示!
挂载不上分区嘛,跟踪跟踪
那出来的是错误提示信息吗?