MTools: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Combuster (talk | contribs)
m changed category
No edit summary
Line 1: Line 1:
MTools gives you command line access to a disk image, it does not mount an image like the other programs, but you get MTools 'dir', 'format' etc that access the image. This is obviously not as integrated as mounting the image so the Host OS itself can see the filesystem, but its the next best thing.
MTools gives you command line access to FAT disks or disk images. It does not mount an image like the other programs, but you get MTools 'dir', 'format' etc that access the image. This is obviously not as integrated as mounting the image so the Host OS itself can see the filesystem, but its the next best thing.


MTools can be downloaded [http://mtools.linux.lu/ here]
MTools can be downloaded [http://mtools.linux.lu/ here]

==Using disk images==
The <tt>-i</tt> option, followed by a disk images file name, allows for using a disk image in place of a real device when the drive letter <tt>:</tt> is used.

For example to copy the file <tt>kernel.elf</tt> from the working directory to the root directory of the image <tt>floppy.img</tt> one would use
mcopy -i floppy.bin kernel.elf ::/




{{Stub}}
{{Stub}}

Revision as of 21:53, 13 December 2006

MTools gives you command line access to FAT disks or disk images. It does not mount an image like the other programs, but you get MTools 'dir', 'format' etc that access the image. This is obviously not as integrated as mounting the image so the Host OS itself can see the filesystem, but its the next best thing.

MTools can be downloaded here

Using disk images

The -i option, followed by a disk images file name, allows for using a disk image in place of a real device when the drive letter : is used.

For example to copy the file kernel.elf from the working directory to the root directory of the image floppy.img one would use

 mcopy -i floppy.bin kernel.elf ::/


This page is a stub.
You can help the wiki by accurately adding more contents to it.