Re: Free FAT12/FAT16/FAT32 filesystem (C)

Jan 09, 2006 22 Replies

Hmm, it worked just fine for me, with no ads. Using Firefox 1.5, with images & Javascript disabled (my usual browsing configuration).

Hello,

yes - if I mount the filesystem as vfat I can tell it to show names. ie: "sudo mount dostest mnt_here/ -o loop -o uid=500 -t vfat -o shortname=mixed"

The problem I was trying to avoid was using long file names since dosfs does not support them. So before I did the mount with -t msdos. It does not accept the shortname options. With vfat it seems the files are created with uppercase names, even if I enter lowercase ones. Bizarre. In any case changing the memcmp to strncasecmp as I recommended to Larwe is optional, but I believe useful to extend fsdos portability.

I really don't understand the difference between the linux file types of msdos, umsdos, and vfat.

Thanks for the suggestion, ~Steve

I believe that MSDOS does not support long file names, while VFAT does.

UMSDOS is a filesystem that emulates unix file system functionality on top of a DOS (FAT) filesystem, such as permissions, ownership, etc.

It was used in the old days for running linux on a DOS partition without having to repartition your drive. It is crucially important that if you use umsdos, you do not touch the files when inside DOS/windows :)

ttyl,

--buddy

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required