PREV UP NEXT The Ftape Installation Guide - Installation


5.4: Compiling ftape, compile time configuration

Please change to the top of the ftape-3.04d source tree:

cd /usr/src/ftape-3.04d

Then you have to change or set some variables in the file ./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 behavior of the floppy driver
CONFIG_FT_ALPHA_CLOCK Compiling ftape on DEC Alpha machines
CONFIG_FT_PROC_FS The procfs Interface of ftape
TRACE_FLAGS Controlling the amount of debugging output

Note: 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 MCONFIG.

Now you are ready (finally) and can just type

make

This will (besides others) create the following files:

`./ftape/lowlevel/ftape.o'
the hardware support module.

`./ftape/zftape/zftape.o'
the VFS interface to the floppy streamer that implements the functionality of the zftape package which used to be a separate distribution.

`./ftape/compressor/zft-compressor.o'
the module that adds user transparent block by block compression to the zftape module. See Compression.

`./contrib/swapout/swapout'
a program to force de-fragmentation of the physical RAM of your machine. Ugly, but very useful (see Swapout).

`./contrib/gnumt/mt'
a modified version of the GNU mt program that knows about the new ioctls introduced by zftape.

`./contrib/ftformat/ftformat'
the user level part of the formatting support for floppy tape cartridges.

`./contrib/vtblc/vtblc'
a small utility to manipulate certain fields of the volume table of a floppy tape cartridge. Can also be used to truncate the volume table.

Note that the sftape module as well as the ftape-format 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. ftape-format has been folded into `ftape.o' and the new user level formatting program under `./contrib/ftformat/'.


Use these buttons to jump to the top menu

TOP (parent node)

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