Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: error reading usb stick (Patrick Welche) writes:

># mount /dev/sd0e /mnt
>mount_msdos: /dev/sd0e on /mnt: Invalid argument

>The end of a ktrace looks like:

>   784      1 mount    CALL  ioctl(4,DIOCGDINFO,0x7f7fffffdcf0)

That's mount, not mount_msdos that you are tracing.

The mount system call probably fails with EINVAL because it detected
some inconsistency in the BIOS parameter block. The reason is only
logged by a kernel compiled with option MSDOSFS_DEBUG.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index