chiark / gitweb /
No need for Makefile-etc now - we hope.
[chiark-utils.git] / backup / settings.pl
index 5e9c5d5b11df5d1bad14b1ce8cd25758cbb8dcca..b503f917ce5915abb916bcd9d4f36305b39267f6 100644 (file)
@@ -1,8 +1,15 @@
-#
+# configuration, for putting in /etc/backup
+
 chdir '/var/local/backup' or die $!;
 push(@INC,'/usr/local/lib/backup');
-$ENV{'PATH'}= '/usr/local/lib/backup:/usr/local/bin:'.$ENV{'PATH'};
 $ENV{'PATH'} =~ s,^/usr/local/lib/backup:/usr/local/bin:,,;
+$ENV{'PATH'}= '/usr/local/lib/backup:/usr/local/bin:'.$ENV{'PATH'};
+
+# This sets both blocksizes to 512b. Note that both must be the
+# same if using the zftape floppy tape driver, since that requires
+# blocks to be the right size, but dd with the obs=10k option
+# doesn't pad the final block to the blocksize...
+
 $blocksize= 1;
 $blocksizebytes= 512*$blocksize;
 $softblocksizekb= 1;