Linux Step By Steps

BRU and FTAPE

From David Ersnt

My tape drive is an internal DITTO that hooks up to the floppy drive cable. There are only three steps required to get this kind of device to work:

1. Load the ftape module.
2. Load the zftape module.
3. Go to the command line as "root" and type "makedev ftape."

I did this and used the command "tar cvf /dev/qft0 <directory>" to save a directory on tape. Seemed to work fine.

To get BRU working, I had to insert one of the following scripts obtained from the BRU Web site in brutab ahead of the one for dev/null. Of course, it was the last one that worked on my system.

/dev/qft0 \
devname="Ditto, rewind" \
size=0 bufsize=30k seek=0 \ rawtape tape
shmcopy rewind autoscan

/dev/nqft0 \
devname="Ditto, norewind" \
size=0 bufsize=30k seek=0 \ rawtape tape shmcopy norewind noautoscan \
eodcmd="mt -f /dev/nqft0 eod" \
rfmcmd="mt -f /dev/nqft0 fsf 1" \
retencmd="mt -f /dev/nqft0 retension" \
rewindcmd="mt -f /dev/nqft0 rewind" \
fmtcmd="mt -f /dev/nqft0 erase" /

dev/zqft0 \
devname="Ditto, compressed, rewind" \
size=0 bufsize=30k seek=0 \ rawtape tape shmcopy rewind autoscan

/dev/nzqft0 \
devname="Ditto, compressed, norewind" \
size=0 bufsize=30k seek=0 \
rawtape tape shmcopy norewind noautoscan \
eodcmd="mt -f /dev/nzqft0 eod" \
rfmcmd="mt -f /dev/nzqft0 fsf 1" \
retencmd="mt -f /dev/nzqft0 retension" \
rewindcmd="mt -f /dev/nzqft0 rewind" \
fmtcmd="mt -f /dev/nzqft0 erase"