xdfcopy
Hurricane Electric Internet Services
NAME
xdfcopy - Program to copy and format Xdf disks in Linux
SYNOPSIS
xdfcopy [-Ddos-drive] [-d] [-n] [-hhead_skew]
[-ttrack_skew] [source] target
DESCRIPTION
Xdfcopy is a utility to copy and format Xdf disks. Xdf is
a format used by OS/2 which can hold 1756k of data. Its
advantage over 2m formats is that it's access is faster.
This program only works with kernels newer than 1.3.40.
(If there's sufficient interest, I'll include a program
working with older kernels in the next release)
If both source and target are given, xdfcopy copies the
disk image from file to floppy disk or vice-versa. When
copying to a floppy disk, the disk is first formatted, un-
less the -n option is given.
If no source is given, the target is formatted. In this
case, the target must be a floppy drive.
OPTIONS
-Ddosdrive
Describes the DOS drive letter for mformat. If this
option is given, an msdos filesystem is automati-
cally installed on the disk after the low-level
format is complete. In order for this to work, the
drive has to be configured to accept the 23x2x80
geometry in your /etc/mtools or your ~/.mtoolsrc
file. Moreover, this only works with a version of
mtools that is more recent than 2.5.4.
Example of working mtoolsrc lines:
A /dev/fd0 0 0 0 0
A /dev/fd0 12 80 2 23
The former is preferable, as it matches any format.
The latter matches only 23 sector formats (such as
Xdf and certain 2m formats).
Examples of a non-working mtoolsrc line:
A /dev/fd0 12 80 2 18
-n Don't format the disk before copying the disk image
to the disk.
OPTIONS FOR POWER USERS
-ttrack skew
Uses a different track skew than the default (14).
For more details on skews, see the superformat man-
page.
-hhead skew
Uses a different head skew than the default (0)
-d Debugging. For each read or write operation, the
time it took to complete the operation is printed
(in milliseconds). This can be used to optimize the
skews.
FILES
/dev/fd* - Floppy devices
AUTHOR
Alain Knaff, Alain.Knaff@inrialpes.fr
SEE ALSO
fdrawcmd(1), getfdprm(1), mtools(1), floppycontrol(1), su-
performat(1)
Hurricane Electric Internet Services
Copyright (C) 1998
Hurricane Electric.
All Rights Reserved.