From bbec4af0c5c53628d2070e36a49a0c668827b624 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 27 Sep 2004 21:48:35 +0000 Subject: [PATCH] Doc updates + 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index 9062465fdd..89f253d848 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -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 -- 2.39.5