Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 22:56:13 GMT
From:      Robert Uzzi <ruzzi@skullfragment.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/90311: Patch to add "eject" to mt
Message-ID:  <200512122256.jBCMuDqx095120@www.freebsd.org>
Resent-Message-ID: <200512122300.jBCN0Bo6019335@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         90311
>Category:       bin
>Synopsis:       Patch to add "eject" to mt
>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:
>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 frecuently 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 functionallity 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512122256.jBCMuDqx095120>