New -g option in mkfs.msdos. For example, mkfs.msdos -g 2880,18,2,80 /dev/loop0 will format the file the loop device is attached to. Now you can mount it and put files on it. Download the patch from the URL
Thank you for the suggestion. It has been noted and assigned to a developer.
Patch included in mkdosfs-ygg-0.3b-12. Thanks for the pointer.
There is a new version of dosfstools. This new version already includes features that allow you to make dos filesystems on loopback devices, and has an active maintainer. Future versions of Red Hat Linux will include the new dosfstools package. You can find the source at: ftp://metalab.unc.edu/pub/Linux/system/filesystems/dosfs/dosfstools-2.2.src.tar.gz