XDFCOPY(1)                          fdutils                         XDFCOPY(1)

       xdfcopy - Program to copy and format Xdf disks in Linux

       xdfcopy [-Ddos-drive] [-0] [-1] [-2] [-3] [-4] [-d] [-n] [-hhead_skew]
       [-ttrack_skew] [-Tend_cylinder] [source] target

       Xdfcopy is a utility to copy and format Xdf disks. Xdf is a format used
       by OS/2 which can hold 1840k of data (on a 3 1/2 high density disk).
       Its advantage over 2m formats is that it's access is faster: 38k/s.
       Because of this fast speed, I extended the Xdf standard to higher
       capacities (1992k) with a transfer rate of 45k/s. I called the new
       formats XXDF.

       This program works best with kernels stricly newer than 2.0.0.

       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, unless the -n option is given.

       If no source is given, the target is formatted. In this case, the
       target must be a floppy drive.

   Selecting a format
       -0     Formats a 5 1/4 XDF disk (1520k, 45.6 KB/s).

       -1     Formats a 3 1/2 high density XDF disk (1840 KB, 38.3 KB/s).

       -2     Formats a 3 1/2 extra density XDF disk (3680 KB, 102 KB/s)

       -3     Formats a 3 1/2 high density XXDF disk (1920 KB, 45 KB/s)

       -4     Formats a 3 1/2 extra density XXDF disk (3840 KB, 90 KB/s)

   Misc options
              Describes the DOS drive letter for mformat. If this option is
              given, an msdos filesystem is automatically 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 a working mtoolsrc line:
                A /dev/fd0  0  0 0  0

               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.

       -ttrack skew
              Uses a different track skew than the default (14). For more
              details on skews, see the superformat manpage. In this version,
              this parameter is ignored.

       -hhead skew
              Uses a different head skew than the default (0) In this version,
              this parameter is ignored

       -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.

              Tells how many cylinders to format.  With the XXDF formats, it
              is actually possible to format up to 83 cylinders, yielding a
              format of up to 1992k on a 3 1/2 high density disk.

       /dev/fd* - Floppy devices

       Alain Knaff, Alain.Knaff@inrialpes.fr

       fdrawcmd(1), getfdprm(1), mtools(1), floppycontrol(1), superformat(1)

fdutils                            23jun1995                        XDFCOPY(1)