From eaf145d51bd47f34f0c1d36ea72242edae8660d5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Sep 2008 11:29:01 +0200 Subject: [PATCH] Adding GPL headers to all files. Signed-off-by: Daniel Baumann --- Makefile | 18 ++++++++++++++++ src/boot.c | 22 +++++++++++++++++-- src/boot.h | 21 ++++++++++++++++-- src/check.c | 22 +++++++++++++++++-- src/check.h | 21 ++++++++++++++++-- src/common.c | 22 +++++++++++++++++-- src/common.h | 21 ++++++++++++++++-- src/dosfsck.c | 22 +++++++++++++++++-- src/dosfsck.h | 22 +++++++++++++++++-- src/dosfslabel.c | 26 +++++++++++++++++----- src/fat.c | 22 +++++++++++++++++-- src/fat.h | 21 ++++++++++++++++-- src/file.c | 22 +++++++++++++++++-- src/file.h | 21 ++++++++++++++++-- src/io.c | 22 +++++++++++++++++-- src/io.h | 22 +++++++++++++++++-- src/lfn.c | 21 ++++++++++++++++-- src/lfn.h | 20 +++++++++++++++-- src/mkdosfs.c | 56 ++++++++++++++++++++++-------------------------- src/version.h | 21 ++++++++++++++++++ 20 files changed, 398 insertions(+), 67 deletions(-) diff --git a/Makefile b/Makefile index 7e0b5fd..148b53a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,22 @@ # Makefile +# +# Copyright (C) 2008 Daniel Baumann +# +# 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, either version 3 of the License, or +# (at your option) any later version. +# +# 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, see . +# +# On Debian systems, the complete text of the GNU General Public License +# can be found in /usr/share/common-licenses/GPL-3 file. DESTDIR = PREFIX = /usr/local diff --git a/src/boot.c b/src/boot.c index 696fc37..29eb18a 100644 --- a/src/boot.c +++ b/src/boot.c @@ -1,6 +1,24 @@ -/* boot.c - Read and analyze ia PC/MS-DOS boot sector */ +/* boot.c - Read and analyze ia PC/MS-DOS boot sector -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/boot.h b/src/boot.h index 0d2962f..eedf2b0 100644 --- a/src/boot.h +++ b/src/boot.h @@ -1,6 +1,23 @@ -/* boot.h - Read and analyze ia PC/MS-DOS boot sector */ +/* boot.h - Read and analyze ia PC/MS-DOS boot sector -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #ifndef _BOOT_H diff --git a/src/check.c b/src/check.c index fe0bb4c..870fcd9 100644 --- a/src/check.c +++ b/src/check.c @@ -1,6 +1,24 @@ -/* check.c - Check and repair a PC/MS-DOS file system */ +/* check.c - Check and repair a PC/MS-DOS file system -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/check.h b/src/check.h index 38f1c68..a41bb86 100644 --- a/src/check.h +++ b/src/check.h @@ -1,6 +1,23 @@ -/* check.h - Check and repair a PC/MS-DOS file system */ +/* check.h - Check and repair a PC/MS-DOS file system -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #ifndef _CHECK_H diff --git a/src/common.c b/src/common.c index dd5bc74..92312e4 100644 --- a/src/common.c +++ b/src/common.c @@ -1,6 +1,24 @@ -/* common.c - Common functions */ +/* common.c - Common functions -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/common.h b/src/common.h index de0fb3e..fe4fa7e 100644 --- a/src/common.h +++ b/src/common.h @@ -1,6 +1,23 @@ -/* common.h - Common functions */ +/* common.h - Common functions -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ # include # define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */ diff --git a/src/dosfsck.c b/src/dosfsck.c index c96deff..0a57030 100644 --- a/src/dosfsck.c +++ b/src/dosfsck.c @@ -1,6 +1,24 @@ -/* dosfsck.c - User interface */ +/* dosfsck.c - User interface -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/dosfsck.h b/src/dosfsck.h index a28ae6b..f62dfbd 100644 --- a/src/dosfsck.h +++ b/src/dosfsck.h @@ -1,6 +1,24 @@ -/* dosfsck.h - Common data structures and global variables */ +/* dosfsck.h - Common data structures and global variables -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/dosfslabel.c b/src/dosfslabel.c index b1caac9..e7be1f6 100644 --- a/src/dosfslabel.c +++ b/src/dosfslabel.c @@ -1,9 +1,25 @@ -/* dosfslabel.c - User interface */ +/* dosfslabel.c - User interface -/* Copyright 2007 Red Hat, Inc. - * Portions copyright 1998 Roman Hodek. - * Portions copyright 1993 Werner Almesberger. - */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + Copyright (C) 2007 Red Hat, Inc. + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #include "version.h" diff --git a/src/fat.c b/src/fat.c index 855d879..d09d888 100644 --- a/src/fat.c +++ b/src/fat.c @@ -1,6 +1,24 @@ -/* fat.c - Read/write access to the FAT */ +/* fat.c - Read/write access to the FAT -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/fat.h b/src/fat.h index 8c2312d..c5f7849 100644 --- a/src/fat.h +++ b/src/fat.h @@ -1,6 +1,23 @@ -/* fat.h - Read/write access to the FAT */ +/* fat.h - Read/write access to the FAT -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #ifndef _FAT_H diff --git a/src/file.c b/src/file.c index e3d2f73..c389c60 100644 --- a/src/file.c +++ b/src/file.c @@ -1,6 +1,24 @@ -/* file.c - Additional file attributes */ +/* file.c - Additional file attributes -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/file.h b/src/file.h index d7f1386..b38523b 100644 --- a/src/file.h +++ b/src/file.h @@ -1,6 +1,23 @@ -/* file.h - Additional file attributes */ +/* file.h - Additional file attributes -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #ifndef _FILE_H diff --git a/src/io.c b/src/io.c index 591a300..0ab0bbf 100644 --- a/src/io.c +++ b/src/io.c @@ -1,6 +1,24 @@ -/* io.c - Virtual disk input/output */ +/* io.c - Virtual disk input/output -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* * Thu Feb 26 01:15:36 CET 1998: Martin Schulze diff --git a/src/io.h b/src/io.h index 9fb5be0..803b6d5 100644 --- a/src/io.h +++ b/src/io.h @@ -1,6 +1,24 @@ -/* io.h - Virtual disk input/output */ +/* io.h - Virtual disk input/output -/* Written 1993 by Werner Almesberger */ + Copyright (C) 1993 Werner Almesberger + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ /* FAT32, VFAT, Atari format support, and various fixes additions May 1998 * by Roman Hodek */ diff --git a/src/lfn.c b/src/lfn.c index 15255f8..b0db160 100644 --- a/src/lfn.c +++ b/src/lfn.c @@ -1,6 +1,23 @@ -/* lfn.c - Functions for handling VFAT long filenames */ +/* lfn.c - Functions for handling VFAT long filenames -/* Written 1998 by Roman Hodek */ + Copyright (C) 1998 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #include #include diff --git a/src/lfn.h b/src/lfn.h index 21726ef..8e8f5a1 100644 --- a/src/lfn.h +++ b/src/lfn.h @@ -1,7 +1,23 @@ -/* lfn.h - Functions for handling VFAT long filenames */ +/* lfn.h - Functions for handling VFAT long filenames -/* Written 1998 by Roman Hodek */ + Copyright (C) 1998 Roman Hodek + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ #ifndef _LFN_H #define _LFN_H diff --git a/src/mkdosfs.c b/src/mkdosfs.c index ef358d4..41528cc 100644 --- a/src/mkdosfs.c +++ b/src/mkdosfs.c @@ -1,13 +1,29 @@ -/* - Filename: mkdosfs.c - Version: 0.3b (Yggdrasil) - Author: Dave Hudson - Started: 24th August 1994 - Last Updated: 7th May 1998 - Updated by: Roman Hodek - Target O/S: Linux (2.x) +/* mkdosfs.c - utility to create FAT/MS-DOS filesystems - Description: Utility to allow an MS-DOS filesystem to be created + Copyright (C) 1991 Linus Torvalds + Copyright (C) 1992-1993 Remy Card + Copyright (C) 1993-1994 David Hudson + Copyright (C) 1998 H. Peter Anvin + Copyright (C) 1998-2005 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ + +/* Description: Utility to allow an MS-DOS filesystem to be created under Linux. A lot of the basic structure of this program has been borrowed from Remy Card's "mke2fs" code. @@ -23,27 +39,7 @@ - Atari format support - New options -A, -S, -C - Support for filesystems > 2GB - - FAT32 support - - Copying: Copyright 1993, 1994 David Hudson (dave@humbug.demon.co.uk) - - Portions copyright 1992, 1993 Remy Card (card@masi.ibp.fr) - and 1991 Linus Torvalds (torvalds@klaava.helsinki.fi) - - 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; either version 2, or (at your option) - any later version. - - 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - + - FAT32 support */ /* Include the header files */ diff --git a/src/version.h b/src/version.h index 397940e..d0332f2 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,24 @@ +/* version.h + + Copyright (C) 1998-2005 Roman Hodek + + 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, either version 3 of the License, or + (at your option) any later version. + + 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, see . + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. +*/ + #ifndef _version_h #define _version_h