Posted On 2007-05-02 by FortyPoundHead
Keywords: Command Reference
Tags: Linux Commandline Linux
Views: 1391

Mtools is a public domain collection of tools to allow Unix systems to manipulate MS-DOS files: read, write, and move around files on an MS-DOS filesystem

Mtools are typically used to manipulate FAT formatted floppy disks. Each program attempts to emulate the MS-DOS equivalent command, these are different from Windows NT/2000 commands.

Mtools is sufficient to give access to MS-DOS filesystems. For instance, commands such as `mdir a:'' work on the `a:'' floppy without any preliminary mounting or initialization (assuming the default `/etc/mtools.conf'' works on your machine). With mtools, one can change floppies too without unmounting and mounting.

MTOOLS Programs

floppyd floppy daemon to run on your X server box
floppyd_installtest small utility to check for the presence of floppyd
mattrib change MS-DOS file attribute flags
mbadblocks tests a floppy disk, and marks the bad blocks in the FAT
mcat same as cat. Only useful with floppyd.
mcd change MS-DOS directory
mcopy copy MS-DOS files to/from Unix
mdel delete an MS-DOS file
mdeltree recursively delete an MS-DOS directory
mdir display an MS-DOS directory
mdu list space occupied by directory and its contents
mformat add an MS-DOS filesystem to a low-level formatted floppy disk
minfo get information about an MS-DOS filesystem.
mlabel make an MS-DOS volume label
mkmanifest makes a list of short name equivalents
mmd make an MS-DOS subdirectory
mmount mount an MS-DOS disk
mpartition create an MS-DOS as a partition
mrd remove an MS-DOS subdirectory
mmove move or rename an MS-DOS file or subdirectory
mren rename an existing MS-DOS file
mshowfat shows the FAT map of a file
mtoolstest tests and displays the configuration
mtype display contents of an MS-DOS file
mzip zip disk specific commands
xcopy recursively copy a dos directory into anotherEquivalent Windows XP commands:

In the same way that `mtools'' are DOS/Windows commands ported to run under UNIX, most UNIX commands have been ported to run under NT.
A very limited selection of POSIX tools are included in the NT resource kits, more can be found on the net.
Be aware that most UNIX commands running on Windows are case sensitive.

About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Recent Forum Posts

List of Shady Characters
dwirch posted on April 25, 2017 at about 16:39 in Webmaster Stuff

Job Spammer: Bilal Uddin
dwirch posted on April 25, 2017 at about 11:00 in Spammers

Bug Fix: Contact Form Error
dwirch posted on April 21, 2017 at about 11:38 in Site News

Bug Fix: Ophion Time Tracker
dwirch posted on April 9, 2017 at about 11:30 in Site News

Job Spammer: Yogesh Kapadne
dwirch posted on March 31, 2017 at about 8:04 in Spammers

Job Spammer: Sathya Narayana
dwirch posted on March 15, 2017 at about 7:18 in Spammers