]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/ansi-sd-tape.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / ansi-sd-tape.conf.in
index 598a8a4330636172791352aa57ebc55d18588feb..5a71116247da83fca8c7aaad395782db8581d791 100644 (file)
@@ -12,7 +12,7 @@
 
 Storage {                             # definition of myself
   Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
+  SDPort = @sdport@                  # Director's port      
   WorkingDirectory = "@working_dir@"
   Pid Directory = "@piddir@"
   Subsys Directory = "@subsysdir@"
@@ -33,13 +33,15 @@ Director {
 #
 
 Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
+  Name = tape                     # 
+  Media Type = tape
   Archive Device = @tape_drive@
   AutomaticMount = yes;               # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options
+  Control Device = /dev/sg1
+  Alert Command = "@scriptdir@/tapealert %l"
 # Maximum File Size = 1000000
 # MaximumVolumeSize = 400M
   Label Type = ansi