From 41bcdb612e6a863287c9e337911bcd7d4dba39f8 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 8 Jan 1996 12:26:15 +0000 Subject: Implement the MTRETENS command. --- sys/scsi/st.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/scsi/st.c') diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 4bfe3e6..bd91ccc 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: st.c,v 1.55 1995/12/14 09:54:33 phk Exp $ + * $Id: st.c,v 1.56 1996/01/05 20:12:51 wollman Exp $ */ /* @@ -1151,6 +1151,10 @@ struct proc *p, struct scsi_link *sc_link) case MTERASE: /* erase */ errcode = st_erase(unit, FALSE, flags); break; + case MTRETENS: /* re-tension tape */ + errcode = st_load(unit, LD_LOAD|LD_RETEN, + flags); + break; case MTOFFL: /* rewind and put the drive offline */ st_unmount(unit, EJECT); break; -- cgit v1.1