1 # configuration, for putting in /etc/chiark-backup
3 chdir '/var/lib/chiark-backup' or die $!;
4 push(@INC,'/usr/share/chiark-backup');
5 $ENV{'PATH'} =~ s,^/usr/share/chiark-backup,,;
6 $ENV{'PATH'}= '/usr/share/chiark-backup:'.$ENV{'PATH'};
8 # This sets both blocksizes to 512b. Note that both must be the
9 # same if using the zftape floppy tape driver, since that requires
10 # blocks to be the right size, but dd with the obs=10k option
11 # doesn't pad the final block to the blocksize...
14 $blocksizebytes= 512*$blocksize;
16 $softblocksizebytes= 1024*$softblocksizekb;
18 $tape= "/dev/$tapename";
19 $ntape= "/dev/n$tapename";