The mtools suite of diskette utilities is designed to work with PC formatted
diskettes, and closely copies DOS diskette commands, with the addition of a
leading "m" in their name. The table below outlines the mtools commands and
their actions. Commands in blue are the most
commonly used ones. Just insert the diskette and start typing commands
- you do not need to mount the disk or tell the computer to eject it.
NOTE: also see the man pages, available by typing "man command"
at a unix prompt, where command is the utility you are interested in.
| mattrib | change MSDOS file attribute flags |
| mbadblocks | tests a floppy disk, and marks the bad blocks in the FAT |
| mcd | change MSDOS directory |
| mcopy | copy MSDOS files to/from Unix |
| mdel | delete an MSDOS file |
| mdeltree | delete an MSDOS directory recursively |
| mdir | display an MSDOS directory |
| mformat | add an MSDOS filesystem to a low-level formatted floppy disk |
| minfo | display information about an MSDOS diskette |
| mlabel | make an MSDOS volume label |
| mmd | make an MSDOS subdirectory |
| mmount | mount an MSDOS disk (Linux only) |
| mmove | move or rename an MSDOS file or subdirectory |
| mpartition | partition an MSDOS diskette |
| mrd | remove an MSDOS subdirectory |
| mread | copy MSDOS files to/from Unix |
| mren | rename an existing MSDOS file |
| mtools | utilities to access DOS disks in Unix |
| mtoolstest | tests and displays the configuration |
| mtype | display contents of an MSDOS file |
| mwrite | copy MSDOS files to/from Unix |
| mzip | change protection mode and eject disk on Zip/Jaz drive |
#
# ZIP formatting stuff for reading PC disks with mtools
#
disk_type="Zip 100"\
:ctlr=SCSI\
:ncyl=2406:acyl=2:pcyl=2408:nhead=2\
:nsect=40:rpm=3600:bpt=20480
partition="Zip 100"\
:disk="Zip 100":ctlr=SCSI\
:2=0,192480
:2=0,1159168