-->
Previous Table of Contents Next


xdfcopy......Work with Xdf Disks

xdfcopy option(s) source target

PURPOSE

The xdfcopy command copies and formats Xdf floppy disks, a format used by the OS/2 operating system.

OPTIONS

-Ddosdrive Specifies the DOS drive letter to format. There are a slew of conditions with this option; check the online-manual pages for more information.
-n Does not format the disk before copying an image to the disk.

RELATED COMMANDS

mtools
floppycontrol
performat

MTools

The Mtools series of commands work with MS-DOS files and directories on floppy disks. This allows you to use Linux with MS-DOS-formatted diskettes.

mattrib......Change MS-DOS Attribute

mattrib option(s) msdosfile(s)

PURPOSE

The mattrib command changes the file attributes to an MS-DOS file stored on a floppy drive. Adding attribute flags is done with +, and removing attribute flags is done with -.

ATTRIBUTES

a Archive bit.
h Hidden bit.
r Read-only bit.
s System bit.

mbadblocks......MS-DOS Bad Blocks

mbadblocks drive

PURPOSE

The mbadblocks scans a specified drive (an MS-DOS floppy) for bad blocks. It marks the bad blocks as being unread.

mcd......Change MS-DOS Directory

mcd directory

PURPOSE

The mcd command changes the current directory on an MS-DOS floppy. With no directory specified, it returns the current device and directory.

RELATED COMMAND

mdir

mcopy......Copy MS-DOS Files

mcopy option(s) sourcefile targetfile

mcopy option(s) sourcefile(s) targetdirectory

PURPOSE

The mcopy command copies MS-DOS files to and from a Linux system, usually using a floppy drive. It can be used to copy a file to a target file, or it can be used to copy multiple files to a specified directory.

When using a MS-DOS floppy, you’ll need to add A: to the file or directory names.

OPTIONS

t Performs a text file transfer, translating carriage returns/line feeds to just line feeds.
m Preserves the file modification time.
n Works with no warning if you are overwriting an existing file.
v Works in verbose mode.

RELATED COMMANDS

mread
mwrite

mdel......Delete MS-DOS File

mdel option msdosfile

PURPOSE

The mdel command deletes an MS-DOS file, usually on a floppy drive.

OPTION

-v Works in verbose mode, where the names of files are printed to the screen as they are being deleted.

mformat......Format MS-DOS Floppy

mformat option(s) drive

PURPOSE

The mformat adds an MS-DOS filesystem to a low-level Linux-formatted diskette. This formatting includes a boot sector, FAT, and root directory.

OPTIONS

1 Overrides the use of a 2m format, even if the current geometry of the disk is a 2m geometry.
2 Works in 2m format—the number of sectors on track 0, head 0.
h Specifies the number of heads (sides).
H Specifies the number of hidden sectors.
l Sets an optional volume label.
M Sets the software sector size.
n Sets the serial number.
t Specifies the number of tracks (not cylinders).
s Specifies the number of sectors per track.
S Specifies the sizecode.
X Formats the disk as an Xdf disk, used by OS/2.

RELATED COMMAND

mlabel

mrd......Removes MS-DOS Directory Tree

mrd option msdosdirectory

PURPOSE

The mrd command removes an MS-DOS directory tree, as well as any files and subdirectories within. This occurs on an MS-DOS filesystem on a floppy drive.

OPTION

-v Works in verbose mode, listing every file and directory as it is deleted.

mdir......Show MS-DOS Directory

mdir option(s) msdosdirectory

PURPOSE

The mdir command displays the contents of an MS-DOS directory, usually on a floppy drive.

OPTIONS

a Lists hidden files.
w Prints in wide output, without displaying the file size or creation date.

mlabel......Make Label

mlabel option(s) drive new_label

PURPOSE

The mlabel command creates an MS-DOS volume label on a floppy drive. With no options, it displays the current label. If the c or s option is not set, you are prompted for a new label; at this time, if you don’t enter a new label and press Return, the existing label is deleted.

OPTIONS

c Clears an existing label, without prompting the user.
s Shows the existing label, without prompting the user.

RELATED COMMAND

mformat

mmd......Make Subdirectory

mmd option directory

PURPOSE

The mmd command creates an MS-DOS subdirectory on a floppy drive. An error occurs if the directory already exists.

OPTION

v Works in verbose mode, returning the names of the directories as they are created.

RELATED COMMANDS

mrd

mmount......Mount MS-DOS Disk

mmount drive mountargs

PURPOSE

The mmount command mounts an MS-DOS disk. It reads the boot sector of an MS-DOS disk, configures the drive geometry, and mounts it, passing mount-args to mount.

RELATED COMMANDS

mount


Previous Table of Contents Next