IBM TS2340 User Guide - Page 116
Updating Procedure, Querying the Installed Package
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 116 highlights
Linux Device Driver (lin_tape) 1. Download the appropriate level of the source RPM package to a directory of your choice on the Linux kernel for which you wish to install it. 2. Run rpmbuild --rebuild , where: is the name of the RPM file. This creates a binary RPM package for your kernel from the source RPM package. For example: >rpmbuild --rebuild lin_tape-1.x.x.x.0-1.src.rpm 3. Output from the build is printed to your screen. Near the end of the output, there is a line that indicates the filename and location of your binary RPM package. For example, a line similar to the following is output to your screen: Wrote: /usr/src/redhat/RPMS/i386/lin_tape-1.x.x.x.0-1.i386.rpm 4. To install the lin_tape driver from the binary package, run >rpm -ivh For example: >rpm -ivh /usr/src/redhat/RPMS/i386/lin_tape-1.x.x.x.0-1.i386.rpm 5. To install the lin_taped daemon, download it to your Linux filesystem and run rpm -ivh on the daemon RPM file. For example: >rpm -ivh /usr/src/redhat/RPMS/i386/lin_taped-1.x.x.x.0-rhel5.i386.rpm Updating Procedure Before using this procedure to update your device driver to a different level, use the following command to obtain your existing lin_tape device driver version, if there is at least one tape device attached to your system: > IBMtapeutil -f /dev/IBMtape0 qryversion Note: This is performed using tape diagnostic and utility functions. If your current lin_tape device driver was installed from a rpm package previously, you may uninstall the driver first, then install the newer version. For example: >rpm -e lin_tape >rpmbuild -rebuild lin_tape.x.x.x.i386.rpm>rpm -i lin_tape.x.x.x.i386.rpm Note: All tape devices that use the lin_tape device driver must be closed and cannot be in use when lin_tape is uninstalled. Querying the Installed Package The query is supported for the lin_tape device driver rpm package only. The installed rpm package can be queried by running the following commands to display information associated with the package. To display information about lin_tape: >rpm -qi lin_tape To display the file list, enter the command: >rpm -ql lin_tape To display the states of files in the package, for example, normal, not installed, or replaced: >rpm -qs lin_tape 98 IBM Tape Device Drivers Installation and User's Guide