* 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-2000
*/
/*
#ifndef lint
static const char rcsid[] =
- "$Id: rmt.c,v 1.6 1999/10/13 09:57:22 stelian Exp $";
+ "$Id: rmt.c,v 1.9 2000/01/21 10:17:41 stelian Exp $";
#endif /* not linux */
/*
#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;