Next: , Previous: , Up: Commands   [Contents][Index]


4.5 Mcat

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 as the Unix cat command. It is included into the mtools package, since cat cannot access remote floppy devices offered by the mtools floppy daemon. Now it is possible to create boot floppies remotely.

The default operation is reading. The output is written to stdout.

If the -w option is specified, mcat reads a disk-image from stdin and writes it to the given device. Use this carefully! Because of the low-level nature of this command, it will happily destroy any data written before on the disk without warning!