> My problem is I want to get the FAT formatting onto a file (disk image >may be a better word) that is 20Mb large so I can mount it under DOSEMU. Why >do it that way, you ask? Simple, I don't have any room on my current HDs to >make a real DOS partition and by doing it this way I can delete it later on >down the road. The problem is, mkfs.msdos (or mkfs -t fat) cannot find the >geometry of the drive (file) even when it is hooked up through a loopback >device.
If you can't tell mkfs.msdos the disk geometry of the disk (actually disk image), then I would file this as a bug (or wish list item) against the package which contains mkfs.msdos (Does the FAT filesystem even depend on the disk geometry? I didn't think it did, but I could be mistaken...)