X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=backup%2Fwhatsthis;h=26315f8a4d3ab4b3c52ef1b95bb20b569adea2d3;hp=d631869aecac90c45262ea47b677269c2ea615ab;hb=19b4b2b99d4a7bdb0d4e8ca569a1d2f28612f6de;hpb=d906fbd72072c6953922e0627bbcf3d4c62ce7c0 diff --git a/backup/whatsthis b/backup/whatsthis index d631869..26315f8 100755 --- a/backup/whatsthis +++ b/backup/whatsthis @@ -6,12 +6,13 @@ # other UN*X-compatible machines, as used on chiark.greenend.org.uk. # # chiark backup is: -# Copyright (C) 1997-1998,2000-2001 Ian Jackson +# Copyright (C) 1997-1998,2000-2001,2007 +# Ian Jackson # Copyright (C) 1999 Peter Maydell # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2, or (at your option) any later version. +# Foundation; either version 3, or (at your option) any later version. # # This is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -19,8 +20,8 @@ # details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. # First rough hack; mostly just code nabbed from full. # --list assumes the dump type was 'zafio', which is a bit bogus. @@ -32,7 +33,7 @@ sub rewind(); sub stopandsay(@); -$etc='/etc/backup'; +$etc='/etc/chiark-backup'; require "$etc/settings.pl"; require 'backuplib.pl'; @@ -118,7 +119,7 @@ if ($ftype =~ /POSIX tar/) { # Now back up so we can read the file again properly #system "mt -f $ntape bsf 1"; $? and stopandsay "couldn't backspace tape: $?"; -system "dd if=$ntape ibs=$blocksizebytes | /usr/local/lib/backup/readbuffer | $reader"; +system "dd if=$ntape ibs=$blocksizebytes | readbuffer | $reader"; $? and stopandsay "listing failed: $?"; # All's well, stop here.