X-Git-Url: https://git.jankratochvil.net/?p=badblock-guess.git;a=blobdiff_plain;f=badblock-guess.c;h=f715cd12806a5e9a6752857a1cf05bc8962cc237;hp=56ed478a24ca5f9bd19c97f03dd37271563e203d;hb=bf17104b55bd5232d6564047ecd6dc8cbb397328;hpb=9c37bf50da2ab49428ca01500506c8dcead84e1e diff --git a/badblock-guess.c b/badblock-guess.c index 56ed478..f715cd1 100644 --- a/badblock-guess.c +++ b/badblock-guess.c @@ -1,5 +1,23 @@ /* $Id$ */ +/* + * badblock-guess: Quickly recover most of the data from a damaged disk + * Copyright (C) 2002 Jan Kratochvil + * + * This program 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; exactly version 2 of the License required + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more 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 + */ + #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE @@ -390,7 +408,15 @@ int main(int argc,char **argv) setlinebuf(stderr); if (argc!=2 && argc!=3) { - fprintf(stderr,"Syntax: badblock-guess []\n"); + fprintf(stderr,"\ +badblock-guess, Copyright (C) 2002 Jan Kratochvil \n\ +$Id$\n\ +badblock-guess comes with ABSOLUTELY NO WARRANTY.\n\ +This is free software, and you are welcome to redistribute it\n\ +under certain conditions.\n\ +\n\ +Syntax: badblock-guess []\n\ +\n"); exit(EXIT_FAILURE); } if (-1==(src_fd=open64((src_name=argv[1]),O_RDONLY|O_BINARY))) {