The Ftape Installation and Usage Guide - Installation
NOTE: You have to be `root
' to install the driver. Either you login as root or do a `su
' at the shell prompt.
The makefile contains an `install
' target. Before actually running
`make install
' you should check
[/usr/src/ftape-4.03/]MCONFIG
for correctness of the installation location. Actually, you only need to
worry about the MODULESDIR
(1) location and the
default is most probably correct.
MODULESDIR
|
` |
Simply typing
make install
in the top directory of the ftape sources will result in the following actions:
`./ftape/lowlevel/ftape.o
', `./ftape/zftape/zftape.o
', `./ftape/zftape/zft-compressor.o
', `./ftape/internal/ftape-internal.o
', `./ftape/parport/trakker.o
', `./ftape/parport/bpck-fdc.o
'
under MODULESDIR
which defaults to
`/lib/modules/KERNEL_VERSION/misc/
'.
/dev/
' directory.
This is done by running the script
[/usr/src/ftape-4.03/scripts/]MAKEDEV.ftape.
The tape devices are character devices that use a major device number of
`27
' (see File System Interface).
Note that MAKEDEV.ftape doesn't change or delete
`/dev/ftape
' and `/dev/nftape
'. Also, if MAKEDEV.ftape
discovers that the devices it attempts to create already exist then it
will prompt the user and asks him (or her) and whether it should
overwrite those devices.
The script produces the following entries in the `/dev/
' directory
(output from `ls -l /dev/*ft*
'). Please note the file access
permissions of the devices which will inhibit the use of the tape driver
by non-root users. You may want to change them to suite your needs (see
`man 1 chmod
', `man 1 chown
').
crw------- 1 root root 27, 4 Mar 25 13:10 /dev/nqft0 crw------- 1 root root 27, 5 Mar 25 13:10 /dev/nqft1 crw------- 1 root root 27, 6 Mar 25 13:10 /dev/nqft2 crw------- 1 root root 27, 7 Mar 25 13:10 /dev/nqft3 crw------- 1 root root 27, 36 Mar 25 13:10 /dev/nrawft0 crw------- 1 root root 27, 37 Mar 25 13:10 /dev/nrawft1 crw------- 1 root root 27, 38 Mar 25 13:10 /dev/nrawft2 crw------- 1 root root 27, 39 Mar 25 13:10 /dev/nrawft3 lrwxrwxrwx 1 root root 5 Mar 25 13:10 /dev/nrft0 -> nqft0 lrwxrwxrwx 1 root root 5 Mar 25 13:10 /dev/nrft1 -> nqft1 lrwxrwxrwx 1 root root 5 Mar 25 13:10 /dev/nrft2 -> nqft2 lrwxrwxrwx 1 root root 5 Mar 25 13:10 /dev/nrft3 -> nqft3 crw------- 1 root root 27, 0 Mar 25 13:10 /dev/qft0 crw------- 1 root root 27, 1 Mar 25 13:10 /dev/qft1 crw------- 1 root root 27, 2 Mar 25 13:10 /dev/qft2 crw------- 1 root root 27, 3 Mar 25 13:10 /dev/qft3 crw------- 1 root root 27, 32 Mar 25 13:10 /dev/rawft0 crw------- 1 root root 27, 33 Mar 25 13:10 /dev/rawft1 crw------- 1 root root 27, 34 Mar 25 13:10 /dev/rawft2 crw------- 1 root root 27, 35 Mar 25 13:10 /dev/rawft3 lrwxrwxrwx 1 root root 4 Mar 25 13:10 /dev/rft0 -> qft0 lrwxrwxrwx 1 root root 4 Mar 25 13:10 /dev/rft1 -> qft1 lrwxrwxrwx 1 root root 4 Mar 25 13:10 /dev/rft2 -> qft2 lrwxrwxrwx 1 root root 4 Mar 25 13:10 /dev/rft3 -> qft3
(1) KERNEL_VERSION stands for the version of the kernel ftape was compiled for which is determined by parsing the file `
'LINUX_LOCATION
/include/linux/versions.h
![]() |
Use these buttons to jump to the top menu |