bin/90311: Patch to add "eject" to mt
Robert Uzzi
ruzzi at skullfragment.net
Mon Dec 12 15:00:13 PST 2005
>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 at 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:
More information about the freebsd-bugs
mailing list