From: Eric Bollengier Date: Sat, 24 Feb 2007 22:51:23 +0000 (+0000) Subject: ebl using /dev/null instead of extra scripting X-Git-Tag: Release-2.2.0~992 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a783e850b1c96452e21811fe18a0e30ebc948f4f;p=bacula%2Fdocs ebl using /dev/null instead of extra scripting --- diff --git a/docs/manual/faq.tex b/docs/manual/faq.tex index b884feb8..27417d86 100644 --- a/docs/manual/faq.tex +++ b/docs/manual/faq.tex @@ -363,18 +363,22 @@ FAQ for how to do so. \label{testbackup} \section{Can i use Dummy device to test backup?} Yes, to have a {\sl Virtual} device which just drop data, you can use a - Fifo Device (see \ilink{Stored configuration}{SetupFifo}), and you have to - run this script. It's useful to test backup. + Fifo Device (see \ilink{Stored configuration}{SetupFifo}). + It's useful to test backup. \footnotesize \begin{verbatim} -#!/bin/sh - -[! -p /tmp/fifo ] && mkfifo /tmp/fifo - -while cat /tmp/fifo > /dev/null -do - true # do nothing -done +Device { + Name = NULL + Media Type = NULL + Device Type = Fifo + Archive Device = /dev/null + LabelMedia = yes + Random Access = no + AutomaticMount = no + RemovableMedia = no + MaximumOpenWait = 60 + AlwaysOpen = no +} \end{verbatim} \normalsize