]> git.sur5r.net Git - bacula/bacula/blob - regress/README.vtape
Add bsrdir and logdir to regress-config
[bacula/bacula] / regress / README.vtape
1 HOWTO SETUP A FAKE TAPE ENVIRONMENT
2 -----------------------------------
3
4 Introduction:
5 -------------
6
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..
9
10 For that the driver implements 5 operations :
11  - read
12  - write
13  - open
14  - close
15  - ioctl
16
17 Setup the regress environment for tape tests
18 --------------------------------------------
19
20 Be sure to add this to your config file :
21
22 USE_VTAPE=yes
23
24 And type "make setup" (or "make sed" in a existing environment)
25
26 That all !
27
28
29 Setup a quite big autochanger (5 drives and 80 slots)
30 -----------------------------------------------------
31
32 Just run "./tests/vtape-test-changer" test to use right configuration files,
33 then you can use "./scripts/prepare-fake-autochanger" script to initialize the
34 dummy autochanger.
35
36
37
38