msdosfs illegal argument

Doug White dwhite at gumbysoft.com
Mon Feb 9 11:18:01 PST 2004


On Fri, 6 Feb 2004, Thomas T. Veldhouse wrote:

> I am seeing this as well with a regular FAT32 partition (/dev/ad1s1).  I
> get:
>
> cascade# mount -t msdos /dev/ad1s1 /mnt/storage
> msdosfs: /dev/ad1s1: Invalid argument

I tried this at home and got this error when I forgot the other partition
on the system is NTFS.  I got a kernel message, "Not a valid FAT32
filesystem," however.

Try doing this:

dd if=/dev/ad1s1 of=temp bs=512 count=1
od -bc temp | head

The first few bytes of the filesystem should be 'aa55' (or 55aa, I
forget), and not 'NTFS'. :-)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list