* 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
*/
/*
* 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.9 2000/01/21 10:17:41 stelian 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;