PREV UP NEXT The Ftape Installation and Usage Guide - Installation


5.3: Compiling ftape, compile time configuration

Please change to the top of the ftape3 source tree, e.g.

cd /usr/src/ftape-4.05

Then you have to change or set some variables in the file [/usr/src/ftape-4.05/]MCONFIG.

There are explanations in that file for each variable that can be set. Some important variables are the following:

FDC_OPT Setting up for your hardware.
CONFIG_MODVERSIONS Versioned symbols.
BROKEN_FLOPPY_DRIVER Ignore bad behaviour of the floppy driver.
CONFIG_FT_PROC_FS The procfs Interface of ftape.
TRACE_FLAGS Controlling the amount of debugging output.
If you have the kernel sources installed (normally under `/usr/src/linux/') then ftape will determine itself if it is possible to use versioned symbols (see CONFIG_MODVERSIONS) and use the configuration options found in the file `/usr/src/linux/.config' to set some other options correctly. Otherwise you will have to set the options starting with CONFIG_... yourself. They are close to the beginning of the file [/usr/src/ftape-4.05/]MCONFIG.

Now you are ready (finally) and can just type

make

This will (besides others) create the following files:

`./ftape/lowlevel/ftape.o'

the floppy tape driver library module.


`./ftape/zftape/zftape.o'

the VFS interface to the floppy streamer such that it can be accessed by tools like mt, tar or you favourite backup program(s).


`./ftape/compressor/zft-compressor.o'

the decompresser to preserve compatibility with ftape-3.04d and earlier versions. The module does not support compression any longer. See Compatibility with ftape-3.04d.


`./ftape/internal/ftape-internal.o'

the FDC driver for internal FDCs, including 82078 based 2Mbps controller and the Iomega Ditto EZ 4Mbps controller, with builtin support for PnP cards with kernel versions 2.3.* and later.


`./ftape/parport/trakkker.o'

The driver for the parallel port Colorado Trakker floppy tape drive.


`./ftape/parport/bpck-fdc.o'

The driver for the Micro Solutions parallel port `Backpack' floppy tape drives (i.e. the parallel port floppy tape drives of the Iomega Ditto product line).

Note that the sftape module as well as the ftapefmt module have vanished from the distribution. sftape (implementing the VFS interface of ftape-2.x) has vanished completely while read compatibility for old cartridges is preserved by zftape. ftapefmt has been folded into `ftape.o' and the new user level formatting program ftformat that is distributed with the separate ftape-tools package.

ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)