info-mtools
[Top][All Lists]
Advanced

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

[mtools] Some improvements I would like to see in mtools.


From: Fredrik Stax{ng
Subject: [mtools] Some improvements I would like to see in mtools.
Date: 10 Oct 2002 08:25:58 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

I have been using mtools for a while, mainly to create and examine
boot floppy images for dosemu and vmware. I have found that the
following changes would make it much easier to use mtools for 
this purpose:

1. An option to specify image file name on the command line. I have
   implemented this.
2. A way to disable vfat entries. The MTOOLS_NO_VFAT does not seem
   to work correctly.
3. Traditionally, short dos file name have always been represented on
   unix as lower case. This is how fat/iso9660 drivers and networking
   software like samba and pc-nfs does it. That is, on extraction
        MAKEFILE.  -> makefile
        T.C        -> t.c
        CONFIG.SYS -> config.sys
   On insertion, if the filename consist of 8+3 lower case letters,
   no vfat entry is made, and the filename is upcased.
4. It would be good if the FreeDOS boot sector could be built into
   mformat, assuming that it can boot the msdos files also.
5. For me, a tarlike interface would be most convienent.
        mtools x ../boot.img
   Put the boot sector in .bootsect.
        mtools c ../boot2.img
   Mformat a 1.44 image, put the in the bootsect .bootsect, put
   in io.sys, msdos.sys, drvspace.bin command.com etc, in that
   order if present in the directory, hide those that should be hidden,
   the put in the rest of the files.
   For harddisk images, the a (add/replace) would be used more often. 
   This point is last, because it's note really that important. I can
   write a script to do this.

I have attached the patch below. I am willing to make changes if the
conding style etc, does not suit you.

Attachment: mtools.fstx.diff
Description: patch

-- 
Fredrik Stax\"ang | rot13: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]