The Ftape Installation Guide - Installation
NOTE: You have to be `
root
' to un-install the driver. Either you login as root or do a `su
' at the shell prompt.
The makefile contains an `uninstall
' target. Note the makefile
tries to remove the modules and helper utilities only from the
directories that are configured in the file MCONFIG. If you have
edited MCONFIG and changed the installation path prefixes after
running `make install
' then `make uninstall
' will try to
remove the files from the new locations which might not be what you
want. Also, if running `make uninstall
' with a new version of ftape
may not remove all the files of the old release of ftape if the defaults
for the installation paths have changed or if some of the modules or
helper utilities have vanished from the new release.
The installation paths in question can be configured by editing MCONFIG. The following table lists the makefile variables and their default values(1):
/lib/modules/kernel_version/misc
'
/usr/bin/
'
/sbin/
'
/usr/man/
'
/usr/doc/
'
/usr/info/
'
Just typing
make uninstall
in the top directory of the ftape sources will result in the following actions.
`ftape.o
' `zftape.o
' `zft-compressor.o
'
from MODULESDIR.
SBINDIR/swapout
'.
BINDIR/ftmt
' as well as of
`MANDIR/man1/ftmt.1
'.
SBINDIR/vtblc
'.
SBINDIR/ftformat
' as well as of
`MANDIR/man8/ftformat.8
'.
`INFODIR/
'.
Note the `make uninstall
' tries also to delete the info node entry
from the info directory file `INFODIR/dir
'.
DOCDIR/ftape/
'.
depmod -a
' is run to update the modules dependencies.
/dev/
' are not removed with
`make uninstall
'.
(1) Note that kernel_version stands for
the version of the kernel ftape was compiled for which is determined by
parsing the file `
',
see MCONFIGLINUX_LOCATION
/include/linux/versions.h
Use these buttons to jump to the top menu