From a783e850b1c96452e21811fe18a0e30ebc948f4f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 24 Feb 2007 22:51:23 +0000 Subject: [PATCH] ebl using /dev/null instead of extra scripting --- docs/manual/faq.tex | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) 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 -- 2.39.5