PREV UP NEXT The Ftape Installation and Usage Guide - Compiling ftape


5.3.4: CONFIG_FT_PROC_FS, procfs interface of ftape

This option is enabled by default. But please refer to the file [/usr/src/ftape-4.05/]BUGS to get to know about possible problems with pre-v2.1.* kernels. If you leave this feature enabled then a directory `ftape/' in the root directory of the `proc' file system is created (i.e. normally there will be an entry `/proc/ftape/' if you didn't mount the proc file system somewhere else than under `/proc/'). The contents of this directory and its subdirectories is listed below. Of course, this is only an example to demonstrate which kind of information show up if you enable the proc file system interface. The actual contents of the files may be totally different from the example output given below, but I don't don' t intent to change the directory structure once more, so the example below basically is the representative output of all that ls and cat commands.


`/proc/ftape/'
claus@anaximander:/proc/ftape > ls /proc/ftape/
0/       1/       2/       3/       driver/

`/proc/ftape/driver'
claus@anaximander:/proc/ftape > ls /proc/ftape/driver/
drivers  memory   version

`/proc/ftape/driver/drivers'
claus@anaximander:/proc/ftape > cat /proc/ftape/driver/drivers
Lowlevel fdc drivers registered with ftape

ftape-internal -- driver for internal FDC controllers (FC-10/FC-20/82078/Ditto EZ)

Drivers registered for device 0: ftape-internal

Drivers registered for device 1: trakker bpck-fdc

Drivers registered for device 2: none

Drivers registered for device 3: none

`/proc/ftape/driver/memory'
claus@anaximander:/proc/ftape > cat /proc/ftape/driver/memory

              kmalloc

        driver    qft0    qft1    qft2    qft3    total
-------------------------------------------------------
used:        0    1108       0       0       0     1108
peak:        0    1108       0       0       0     1108

              vmalloc

        driver    qft0    qft1    qft2    qft3    total
-------------------------------------------------------
used:        0   29696       0       0       0    29696
peak:        0   29696       0       0       0    29696

              dma memory

           qft0    qft1    qft2    qft3    total
------------------------------------------------
used:    131072       0       0       0   131072
peak:    131072       0       0       0   131072


`/proc/ftape/driver/version'
claus@anaximander:/proc/ftape > cat /proc/ftape/driver/version
ftape v4.04 07/21/2000

(c) 1993-1996 Bas Laarhoven
(c) 1995-1996 Kai Harrekilde-Petersen
(c) 1996-2000 Claus-Justus Heine <heine@instmath.rwth-aachen.de)

QIC-117 driver for QIC-40/80/3010/3020/Ditto 2GB/MAX floppy tape drives.
Compiled for Linux version 2.4.0-test1 (SMP).

`/proc/ftape/0/'
claus@anaximander:/proc/ftape > ls /proc/ftape/0/
cartridge   controller  history     tapedrive

`/proc/ftape/0/cartridge'
claus@anaximander:/proc/ftape > cat /proc/ftape/0/cartridge
segments  :   748
tracks    :    68
length    :   386ft
formatted : yes
writable  : yes
QIC spec. : Ditto Max
fmt-code  : 6

`/proc/ftape/0/controller'
FDC_driver: ftape-internal -- driver for internal FDC controllers (FC-10/FC-20/82078/Ditto EZ)
FDC type  : Iomega Dash EZ
FDC base  : 0x210
FDC irq   : 11
FDC dma   : 0
FDC thr.  : 15
max. rate : 4000 kbit/sec
rate limit: 4000 kbit/sec
used rate : 4000 kbit/sec

`/proc/ftape/0/history'
claus@anaximander:/proc/ftape > cat /proc/ftape/0/history
FDC isr statistics
 id_am_errors     :   0
 id_crc_errors    :   0
 data_am_errors   :   0
 data_crc_errors  :   0
 overrun_errors   :   0
 no_data_errors   :   0
 retries          :   0

ECC statistics
 crc_errors       :   0
 crc_failures     :   0
 ecc_failures     :   0
 sectors corrected:   0

tape quality statistics
 media defects    :   0

tape motion statistics
 repositions      :   2


`/proc/ftape/0/tapedrive'
claus@anaximander:/proc/ftape > cat /proc/ftape/0/tapedrive
vendor id : 0x8885
drive name: Iomega DITTO MAX
wind speed: 85 ips
wakeup    : Colorado
max. rate : 4000 kbit/sec
used rate : 4000 kbit/sec

ftape logo Use these buttons to jump to the top menu

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