1 HOWTO SETUP A FAKE TAPE ENVIRONMENT
2 -----------------------------------
7 The fake tape driver (vtape) attempts to simulate a tape drive from a low level
8 aspect. It emulates tape operations like fsf, bsf, weom, variable bloc, etc..
10 For that the driver implements 5 operations :
17 Setup the regress environment for tape tests
18 --------------------------------------------
20 Be sure to configure your config file with this :
22 TAPE_DRIVE="/tmp/drive0"
23 TAPE_DRIVE1="/tmp/drive1"
28 AUTOCHANGER="/tmp/ach_config"
30 AUTOCHANGER_SCRIPT=disk-changer
32 You can remplace /tmp/ by what you want.
34 Then, the /tmp/ach_config can contain this to simulate 2 drives :
43 Setup a quite big autochanger (5 drives and 80 slots)
44 -----------------------------------------------------
46 Just run "./tests/vtape-test-changer" test to use right configuration files,
47 then you can use "./scripts/prepare-fake-autochanger" script to initialize the