]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/dvd-handler.in
kes If doing a mount, look for a slot, and if specified pass it to
[bacula/bacula] / bacula / scripts / dvd-handler.in
index b90108156ead4f0a4626b69c8d61605e81b89f4f..1aa05e842d1b12fcb2d80aae23000e6892c522cf 100644 (file)
@@ -267,6 +267,9 @@ class disk:
       cmd = self.growcmd + self.growparams
       if newvol:
          cmd += " -Z "
+         // Ignore any existing iso9660 filesystem - used for truncate
+         if newvol == 2:
+             cmd += "-use-the-force-luke=tty "
       else:
          cmd += " -M "
       cmd += self.device + " " + str(partfile)
@@ -397,8 +400,9 @@ test      Scan the device and report the information found.
 free      Scan the device and report the available space.
 write     Write a part file to disk.
            This operation needs two additional arguments.
-           The first indicates to append (0) or restart the
-           disk (1). The second is the file to write.
+           The first indicates to append (0), restart the
+           disk (1) or restart existing disk (2). The second
+           is the file to write.
 prepare   Prepare a DVD+/-RW for being used by Bacula.
            Note: This is only useful if you already have some
            non-Bacula data on a medium, and you want to use