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.05/]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,
unless the kernel supports the devfs
file system mounted under
`/dev/
'. In that case, device nodes mentioned below are created as
symlinks to the real devices under `/dev/ftape/
' at module load
time.
Otherwise the device special files and some compatibility links are
created by running the script
[/usr/src/ftape-4.05/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 Sep 2 02:23 /dev/nqft0 crw------- 1 root root 27, 5 Sep 2 02:23 /dev/nqft1 crw------- 1 root root 27, 6 Sep 2 02:23 /dev/nqft2 crw------- 1 root root 27, 7 Sep 2 02:23 /dev/nqft3 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrawft0 -> nqft0 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrawft1 -> nqft1 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrawft2 -> nqft2 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrawft3 -> nqft3 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrft0 -> nqft0 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrft1 -> nqft1 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrft2 -> nqft2 lrwxrwxrwx 1 root root 5 Sep 2 02:23 /dev/nrft3 -> nqft3 crw------- 1 root root 27, 20 Apr 17 1998 /dev/nzqft0 crw------- 1 root root 27, 21 Apr 17 1998 /dev/nzqft1 crw------- 1 root root 27, 22 Apr 17 1998 /dev/nzqft2 crw------- 1 root root 27, 23 Apr 17 1998 /dev/nzqft3 crw------- 1 root root 27, 0 Sep 2 02:23 /dev/qft0 crw------- 1 root root 27, 1 Sep 2 02:23 /dev/qft1 crw------- 1 root root 27, 2 Sep 2 02:23 /dev/qft2 crw------- 1 root root 27, 3 Sep 2 02:23 /dev/qft3 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rawft0 -> qft0 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rawft1 -> qft1 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rawft2 -> qft2 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rawft3 -> qft3 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rft0 -> qft0 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rft1 -> qft1 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rft2 -> qft2 lrwxrwxrwx 1 root root 4 Sep 2 02:23 /dev/rft3 -> qft3 crw------- 1 root root 27, 16 Apr 17 1998 /dev/zqft0 crw------- 1 root root 27, 17 Apr 17 1998 /dev/zqft1 crw------- 1 root root 27, 18 Apr 17 1998 /dev/zqft2 crw------- 1 root root 27, 19 Apr 17 1998 /dev/zqft3
(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 |