chiark / gitweb /
Working on debianisation and packaging.
[chiark-utils.git] / backup / settings.pl
index 5e9c5d5b11df5d1bad14b1ce8cd25758cbb8dcca..0c3752f88f5a28c4abe0cbb618d6e6d5524a508f 100644 (file)
@@ -1,8 +1,15 @@
-#
-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:,,;
+# configuration, for putting in /etc/chiark-backup
+
+chdir '/var/lib/chiark-backup' or die $!;
+push(@INC,'/usr/lib/chiark-backup');
+$ENV{'PATH'} =~ s,^/usr/lib/chiark-backup,,;
+$ENV{'PATH'}= '/usr/lib/chiark-backup:'.$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;