]> git.sur5r.net Git - bacula/bacula/blob - regress/README.vtape
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / README.vtape
1 HOWTO SETUP A FAKE TAPE ENVIRONMENT
2 -----------------------------------
3
4 #
5 # Copyright (C) 2000-2015 Kern Sibbald
6 # License: BSD 2-Clause; see file LICENSE-FOSS
7 #
8
9
10 Introduction:
11 -------------
12
13 The fake tape driver (vtape) attempts to simulate a tape drive from a low level
14 aspect. It emulates tape operations like fsf, bsf, weom, variable bloc, etc..
15
16 For that the driver implements 5 operations :
17  - read
18  - write
19  - open
20  - close
21  - ioctl
22
23 Setup the regress environment for tape tests
24 --------------------------------------------
25
26 Be sure to add this to your config file :
27
28 USE_VTAPE=yes
29
30 And type "make setup" (or "make sed" in a existing environment)
31
32 That all !
33
34
35 Setup a quite big autochanger (5 drives and 80 slots)
36 -----------------------------------------------------
37
38 Just run "./tests/vtape-test-changer" test to use right configuration files,
39 then you can use "./scripts/prepare-fake-autochanger" script to initialize the
40 dummy autochanger.
41
42
43