* 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
*/
/*
*/
#ifndef lint
-static const char copyright[] =
-"@(#) Copyright (c) 1983, 1993\n\
- The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)rmt.c 8.1 (Berkeley) 6/6/93";
-#endif
static const char rcsid[] =
- "$Id: rmt.c,v 1.4 1999/10/11 13:08:11 stelian Exp $";
-#endif /* not lint */
+ "$Id: rmt.c,v 1.8 1999/11/21 02:24:47 tiniou Exp $";
+#endif /* not linux */
/*
* rmt
#include <sys/mtio.h>
#include <errno.h>
#include <fcntl.h>
+#ifndef __linux__
#include <sgtty.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#ifdef __linux__
-#include <linux/ext2_fs.h>
-#include <ext2fs/ext2fs.h>
-#include <bsdcompat.h>
-#endif
-
int tape = -1;
char *record;