Bug 90311 - [patch] add "eject" to mt(1)
Summary: [patch] add "eject" to mt(1)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 23:00 UTC by Robert Uzzi
Modified: 2017-12-31 22:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Uzzi 2005-12-12 23:00:11 UTC
              
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 },
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:11 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped