Package mtools

Programs for accessing MS-DOS disks without mounting the disks

Mtools is a collection of utilities for accessing MS-DOS files.
Mtools allow you to read, write and move around MS-DOS filesystem
files (normally on MS-DOS floppy disks). Mtools supports Windows95
style long file names, OS/2 XDF disks, and 2m disks

Mtools should be installed if you need to use MS-DOS disks

General Commands (Section 1)
Mattrib is used to change MS-DOS file attribute flags. It has the following syntax: mattrib [-a|+a] [-h|+h] [-r|+r] [-s|+s] [-/] [-p] [-X] msdosfile [...
The mbadblocks command is used to mark some clusters on an MS-DOS filesystem bad. It has the following syntax: mbadblocks [-s sectorlist|-c clusterlist|-w]...
The mcat command is used to copy an entire disk image from or to the floppy device. It uses the following syntax: mcat [-w] drive: Mcat performs the same task...
The mcd command is used to change the mtools working directory on the MS-DOS disk.
The mclasserase command is used to wipe memory cards by overwriting it three times: first with 0xff, then with 0x00, then with 0xff again.
The mcopy command is used to copy MS-DOS files to and from Unix.
The mdel command is used to delete an MS-DOS file.
The mdeltree command is used to delete an MS-DOS file.
The mdir command is used to display an MS-DOS directory. Its syntax is: mdir [-/] [-f] [-w] [-a] [-b] msdosfile [ msdosfiles...] Mdir displays the contents of...
Mdu is used to list the space occupied by a directory, its subdirectories and its files. It is similar to the du command on Unix. The unit used are clusters...
The mformat command is used to add an MS-DOS file system to a low-level formatted diskette.
The minfo command prints the parameters of a MS-DOS file system, such as number of sectors, heads and cylinders. It also prints an mformat command line which...
The mkmanifest command is used to create a shell script (packing list) to restore Unix filenames. Its syntax is: mkmanifest [ files ] Mkmanifest creates a shell...
The mlabel command adds a volume label to a disk.
The mmd command is used to make an MS-DOS subdirectory. Its syntax is: mmd [-D clash_option] msdosdirectory [ msdosdirectories... ] Mmd makes a new directory on...
The mmount command is used to mount an MS-DOS disk. It is only available on Linux, as it is only useful if the OS kernel allows to configure the disk geometry...
The mmove command is used to moves or renames an existing MS-DOS file or subdirectory.
The mpartition command is used to create MS-DOS file systems as partitions. This is intended to be used on non-Linux systems, i.e. systems where fdisk and easy...
The mrd command is used to remove an MS-DOS subdirectory.
The mren command is used to rename or move an existing MS-DOS file or subdirectory.
The mshortname command is used to display the short name of a file.
The mshowfat command is used to display the FAT entries for a file.
Mtools is a collection of tools to allow Unix systems to manipulate MS-DOS files: read, write, and move around files on an MS-DOS file system (typically a...
The mtoolstest command is used to tests the mtools configuration files. To invoke it, just type mtoolstest without any arguments. Mtoolstest reads the mtools...
The mtype command is used to display contents of an MS-DOS file.
The mzip command is used to issue ZIP disk specific commands on Linux, Solaris or HP-UX.
File Formats (Section 5)
This manual page describes the configuration files for mtools. They are called `/etc/mtools.conf' and `~/.mtoolsrc'. If the environmental variable MTOOLSRC is...