Could mount_msdosfs be less cryptic and more compatible with fsck_msdosfs?

Gary Palmer gpalmer at freebsd.org
Sun Jan 18 00:36:40 UTC 2015


On Sun, Jan 18, 2015 at 01:49:02AM +0300, Lev Serebryakov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> 
>  I could not mount FAT32 image, but "fsck_msdosfs" says, that it is
> valid, good FAT32 image.
> 
> % sudo fsck_msdosfs /dev/md0
> ** /dev/md0
> ** Phase 1 - Read and Compare FATs
> ** Phase 2 - Check Cluster Chains
> ** Phase 3 - Checking Directories
> ** Phase 4 - Checking for Lost Files
> 7 files, 96256 free (188 clusters)
> % sudo mount -t msdosfs /dev/md0 /mnt
> mount_msdosfs: /dev/md0: Invalid argument
> %
> 
>  I don't know what should I do to mount this image.
> 
>  I'm using 10-STABLE.

Did you check dmesg?  Sometimes filesystems give more detail in kernel
logs than is possible through error codes.

Gary


More information about the freebsd-fs mailing list