Added CVS tag in files for 'ident' usage.
-$Id: CHANGES,v 1.5 1999/10/11 13:31:03 stelian Exp $
+$Id: CHANGES,v 1.6 1999/10/13 09:57:12 stelian Exp $
Changes between versions 0.4b7 and 0.4b8 (released ???????????????)
===================================================================
-1. Put dump sources under CVS, added Id tags in all files.
+1. Put dump sources under CVS, added Id tags in all files so
+ one can use 'ident' on binary files.
+
+2. Added the dump/restore version in the usage text so one can
+ easily verify the version he is using.
Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
===================================================================
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
- * $Id: COPYRIGHT,v 1.3 1999/10/11 13:31:03 stelian Exp $
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
-# $Id: MCONFIG.in,v 1.4 1999/10/11 13:31:03 stelian Exp $
+# $Id: MCONFIG.in,v 1.5 1999/10/13 09:57:12 stelian Exp $
VPATH= $(srcdir)
top_builddir= @top_builddir@
-VERSION= dump 0.4b7
+VERSION= 0.4b7
DATE= October 8, 1999
AR= @AR@
#
# Definitions (don't change them unless you know what you are doing)
#
-DEFS= -DRDUMP -DRRESTORE -D_BSD_SOURCE -D_USE_BSD_SIGNAL -DLINUX_FORK_BUG
+DEFS= -DRDUMP -DRRESTORE -D_BSD_SOURCE -D_USE_BSD_SIGNAL -DLINUX_FORK_BUG -D_PATH_DUMPDATES=\"$(DUMPDATESPATH)\" -D_DUMP_VERSION=\"$(VERSION)\"
all::
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
- * $Id: dumprmt.c,v 1.5 1999/10/11 13:31:08 stelian Exp $
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
*/
#ifndef lint
-#if 0
-static char sccsid[] = "@(#)dumprmt.c 8.3 (Berkeley) 4/28/95";
-#endif
static const char rcsid[] =
- "$Id: dumprmt.c,v 1.5 1999/10/11 13:31:08 stelian Exp $";
+ "$Id: dumprmt.c,v 1.6 1999/10/13 09:57:18 stelian Exp $";
#endif /* not lint */
#ifdef __linux__
-# $Id: Makefile.in,v 1.2 1999/10/11 13:31:08 stelian Exp $
+# $Id: Makefile.in,v 1.3 1999/10/13 09:57:18 stelian Exp $
top_srcdir= @top_srcdir@
srcdir= @srcdir@
@MCONFIG@
-all:: pathnames.h
-
-pathnames.h: pathnames.h.in
- sed -e "s|__DUMPDATES__|$(DUMPDATESPATH)|g" $< > $@
+all::
install::
clean::
- $(RM) -f \#* *~ core pathnames.h
+ $(RM) -f \#* *~ core
distclean:: clean
$(RM) -f Makefile Makefile.old .depend
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
- * $Id: bsdcompat.h,v 1.5 1999/10/11 13:31:08 stelian Exp $
+ * $Id: bsdcompat.h,v 1.6 1999/10/13 09:57:18 stelian Exp $
*/
#include <config.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: compaterr.h,v 1.4 1999/10/13 09:57:18 stelian Exp $
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: compaterr.h,v 1.3 1999/10/11 13:31:09 stelian Exp $
*/
#ifndef _ERR_H_
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: compatglob.h,v 1.3 1999/10/13 09:57:18 stelian Exp $
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: compatglob.h,v 1.2 1999/10/11 13:31:09 stelian Exp $
*/
#ifndef _GLOB_H_
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: fstab.h,v 1.4 1999/10/13 09:57:18 stelian Exp $
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: fstab.h,v 1.3 1999/10/11 13:31:09 stelian Exp $
*/
#ifndef _FSTAB_H_
--- /dev/null
+/*
+ * Ported to Linux's Second Extended File System as part of the
+ * dump and restore backup suit
+ * Remy Card <card@Linux.EU.Org>, 1994-1997
+ * Stelian Pop <pop@cybercable.fr>, 1999
+ *
+ * $Id: pathnames.h,v 1.5 1999/10/13 09:57:18 stelian Exp $
+ */
+
+/*
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#include <paths.h>
+
+#define _PATH_DEFTAPE "/dev/st0"
+#define _PATH_DTMP "/etc/dtmp"
+#define _PATH_LOCK "/tmp/dumplockXXXXXX"
+#define _PATH_RMT "/etc/rmt" /* path on remote host */
+++ /dev/null
-/*
- * Ported to Linux's Second Extended File System as part of the
- * dump and restore backup suit
- * Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
- */
-
-/*
- * Copyright (c) 1989, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $Id: pathnames.h.in,v 1.2 1999/10/11 13:31:09 stelian Exp $
- */
-
-#include <paths.h>
-
-#define _PATH_DEFTAPE "/dev/st0"
-#define _PATH_DTMP "/etc/dtmp"
-#define _PATH_DUMPDATES "__DUMPDATES__"
-#define _PATH_LOCK "/tmp/dumplockXXXXXX"
-#define _PATH_RMT "/etc/rmt" /* path on remote host */
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: compaterr.c,v 1.3 1999/10/11 13:31:10 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: compaterr.c,v 1.4 1999/10/13 09:57:19 stelian Exp $";
+#endif /* not lint */
+
#include <compaterr.h>
#include <errno.h>
#include <stdio.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: compatglob.c,v 1.2 1999/10/11 13:31:10 stelian Exp $
*/
/*
* Number of matches in the current invocation of glob.
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: compatglob.c,v 1.3 1999/10/13 09:57:19 stelian Exp $";
+#endif /* not lint */
+
#include <config.h>
#ifndef HAVE_GLOB
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: fstab.c,v 1.4 1999/10/11 13:31:10 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: fstab.c,v 1.5 1999/10/13 09:57:19 stelian Exp $";
+#endif /* not lint */
+
#include <errno.h>
#include <fstab.h>
#include <mntent.h>
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: dump.8.in,v 1.2 1999/10/11 13:31:10 stelian Exp $
+.\" $Id: dump.8.in,v 1.3 1999/10/13 09:57:19 stelian Exp $
.\"
.Dd __DATE__
.Dt DUMP 8
-.Os "__VERSION__"
+.Os "dump __VERSION__"
.Sh NAME
.Nm dump
.Nd ext2 filesystem backup
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: dump.h,v 1.6 1999/10/13 09:57:19 stelian Exp $
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: dump.h,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
#define MAXINOPB (MAXBSIZE / sizeof(struct dinode))
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: itime.c,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: itime.c,v 1.6 1999/10/13 09:57:19 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/time.h>
#ifdef __linux__
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
* Stelian Pop <pop@cybercable.fr>, 1999
- *
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: main.c,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: main.c,v 1.6 1999/10/13 09:57:19 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/time.h>
#ifdef __linux__
static void
usage(void)
{
+ char white[MAXPATHLEN];
+ int i;
+
+ strncpy(white, __progname, MAXPATHLEN-1);
+ white[MAXPATHLEN-1] = '\0';
+ for (i=0; i<MAXPATHLEN; ++i)
+ if (white[i] != '\0') white[i] = ' ';
+
+ fprintf(stderr,
+ "%s %s\n", __progname, _DUMP_VERSION);
fprintf(stderr,
- "usage: %s [-0123456789ac"
+ "usage:\t%s [-0123456789ac"
#ifdef KERBEROS
"k"
#endif
- "nu] [-B records] [-b blocksize] [-d density] [-f file]\n"
- " [-h level] [-s feet] [-T date] filesystem\n"
- " %s [-W | -w]\n", __progname, __progname);
+ "nu] [-B records] [-b blocksize] [-d density]\n"
+ "\t%s [-f file] [-h level] [-s feet] [-T date] filesystem\n"
+ "\t%s [-W | -w]\n", __progname, white, __progname);
exit(X_STARTUP);
}
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: optr.c,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: optr.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/wait.h>
#include <sys/time.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: tape.c,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: tape.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#ifdef __linux__
#include <sys/types.h>
#include <linux/types.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: traverse.c,v 1.5 1999/10/11 13:31:11 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: traverse.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/stat.h>
#ifdef __linux__
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: unctime.c,v 1.5 1999/10/11 13:31:12 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: unctime.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#include <time.h>
#ifdef __STDC__
#include <stdlib.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: dirs.c,v 1.5 1999/10/11 13:31:12 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: dirs.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/file.h>
#include <sys/stat.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: extern.h,v 1.6 1999/10/13 09:57:20 stelian Exp $
*/
/*-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: extern.h,v 1.5 1999/10/11 13:31:12 stelian Exp $
*/
struct entry *addentry __P((char *, ino_t, int));
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: interactive.c,v 1.5 1999/10/11 13:31:12 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: interactive.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/stat.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: main.c,v 1.5 1999/10/11 13:31:13 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: main.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/stat.h>
#include <errno.h>
#else
#define kerbflag
#endif
- (void)fprintf(stderr, "usage:\t%s\n\t%s\n\t%s\n\t%s\n\t%s\n",
- "restore -i [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno]",
- "restore -r [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]",
- "restore -R [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]",
- "restore -x [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno] [file ...]",
- "restore -t [-ch" kerbflag "kuvy] [-b blocksize] [-f file] [-s fileno] [file ...]");
+ (void)fprintf(stderr,
+ "%s %s\n", __progname, _DUMP_VERSION);
+ (void)fprintf(stderr,
+ "usage:\t%s%s\n\t%s%s\n\t%s%s\n\t%s%s\n\t%s%s\n",
+ __progname, " -i [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno]",
+ __progname, " -r [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]",
+ __progname, " -R [-c" kerbflag "uvy] [-b blocksize] [-f file] [-s fileno]",
+ __progname, " -x [-ch" kerbflag "muvy] [-b blocksize] [-f file] [-s fileno] [file ...]",
+ __progname, " -t [-ch" kerbflag "kuvy] [-b blocksize] [-f file] [-s fileno] [file ...]");
exit(1);
}
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: restore.8.in,v 1.2 1999/10/11 13:31:13 stelian Exp $
+.\" $Id: restore.8.in,v 1.3 1999/10/13 09:57:21 stelian Exp $
.\"
.Dd __DATE__
.Dt RESTORE 8
-.Os "__VERSION__"
+.Os "restore __VERSION__"
.Sh NAME
.Nm restore
.Nd "restore files or file systems from backups made with dump"
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: restore.c,v 1.5 1999/10/11 13:31:13 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: restore.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+#endif /* not lint */
+
#include <sys/types.h>
#ifdef __linux__
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999
*
+ * $Id: restore.h,v 1.5 1999/10/13 09:57:21 stelian Exp $
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: restore.h,v 1.4 1999/10/11 13:31:13 stelian Exp $
*/
/*
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: symtab.c,v 1.5 1999/10/11 13:31:13 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: symtab.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+#endif /* not lint */
+
/*
* These routines maintain the symbol table which tracks the state
* of the file system being restored. They provide lookup by either
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: tape.c,v 1.5 1999/10/11 13:31:13 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: tape.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/file.h>
#include <sys/mtio.h>
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: utilities.c,v 1.5 1999/10/11 13:31:14 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: utilities.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+#endif /* not lint */
+
#include <sys/param.h>
#include <sys/stat.h>
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: rmt.8.in,v 1.2 1999/10/11 13:31:14 stelian Exp $
+.\" $Id: rmt.8.in,v 1.3 1999/10/13 09:57:22 stelian Exp $
.\"
.Dd __DATE__
.Dt RMT 8
-.Os "__VERSION__"
+.Os "rmt __VERSION__"
.Sh NAME
.Nm rmt
.Nd remote magtape protocol module
* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: rmt.c,v 1.5 1999/10/11 13:31:14 stelian Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: rmt.c,v 1.6 1999/10/13 09:57:22 stelian Exp $";
+#endif /* not linux */
+
/*
* rmt
*/