From nobody@FreeBSD.org  Mon Dec 12 22:56:17 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0A7CF16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Dec 2005 22:56:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 47B0343D7B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Dec 2005 22:56:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jBCMuDvS095122
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Dec 2005 22:56:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jBCMuDqx095120;
	Mon, 12 Dec 2005 22:56:13 GMT
	(envelope-from nobody)
Message-Id: <200512122256.jBCMuDqx095120@www.freebsd.org>
Date: Mon, 12 Dec 2005 22:56:13 GMT
From: Robert Uzzi <ruzzi@skullfragment.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Patch to add "eject" to mt
X-Send-Pr-Version: www-2.3

>Number:         90311
>Category:       bin
>Synopsis:       [patch] add "eject" to mt(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 12 23:00:11 GMT 2005
>Closed-Date:    
>Last-Modified:  Mon Dec 12 23:58:57 GMT 2005
>Originator:     Robert Uzzi
>Release:        5.4
>Organization:
>Environment:
FreeBSD www.compedgeracing.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Nov 29 01:46:28 CST 2005     root@www.compedgeracing.com:/usr/src/sys/i386/compile/CUSTOM-SMP  i386
>Description:
              
I frequently use both Linux and FreeBSD and would find the addition of the
mt command to accept the eject command useful. The following trivial patch
will add that functionality without breaking the offline function. The
patch has been tested on my systems.


--- mt.c.original       Mon Dec 12 16:29:28 2005
+++ mt.c        Mon Dec 12 16:29:56 2005
@@ -91,6 +91,7 @@
        { "fsf",        MTFSF,  1, 0 },
        { "fsr",        MTFSR,  1, 0 },
        { "offline",    MTOFFL, 1, 0 },
+       { "eject",      MTOFFL, 1, 0 },
        { "rewind",     MTREW,  1, 0 },
        { "rewoffl",    MTOFFL, 1, 0 },
        { "status",     MTNOP,  1, 0 },



>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:
