]> git.sur5r.net Git - bacula/bacula/commitdiff
Doc updates +
authorKern Sibbald <kern@sibbald.com>
Mon, 27 Sep 2004 21:48:35 +0000 (21:48 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 27 Sep 2004 21:48:35 +0000 (21:48 +0000)
partially fix btape to work with the new device driver

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1621 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/btape.c

index 9062465fdd899cc10b6b2f9b0ce5a78025301671..89f253d8484bc1ee8fadef22e04518dc8ea31a51 100644 (file)
@@ -333,6 +333,7 @@ static bool open_the_device()
       }
    }
    Pmsg1(000, "open_dev %s OK\n", dev_name(dev));
+   dev->state |= ST_APPEND;
    unlock_device(dev);
    free_block(block);
    return true;
@@ -1747,6 +1748,7 @@ This may take a long time -- hours! ...\n\n");
    /* Use fixed block size to simplify read back */
    min_block_size = dev->min_block_size;
    dev->min_block_size = dev->max_block_size;
+   set_volume_name("TestVolume1", 1);
 
    /* 
     * Acquire output device for writing.  Note, after acquiring a