Home | History | Annotate | Download | only in eject
History log of /src/usr.bin/eject/eject.c
RevisionDateAuthorComments
 1.28  05-Sep-2016  sevan Drop main() prototype.
 1.27  14-Jul-2012  abs racd *should* be ejectable. Kernel side to come
 1.26  23-Jun-2010  yamt branches: 1.26.6;
don't bother to connect to amd unless necessary. PR/42207
 1.25  16-Jan-2009  christos Support amd unmounts, from Anon-Ymous. Not turned on yet because we need
to patch amd for this to work.
 1.24  15-Jan-2009  lukem appease -Wsign-compare
 1.23  14-Jan-2009  christos style fixes and pass WARNS=4 and lint from Anon Ymous
 1.22  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.21  28-Apr-2008  martin branches: 1.21.2;
Remove clause 3 and 4 from TNF licenses
 1.20  24-Sep-2006  xtraeme branches: 1.20.16;
PR bin/27066 by Sergey Svishchev: "eject(1) does not DTRT for floppy drives
(such as one in SPARCstation 5)".

Patch applied, thanks.
 1.19  30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.18  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.17  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.16  06-Oct-2001  bjh21 Add -L and -U options to eject(1) that call DIOCLOCK. Also generally clean
stuff up, correct the usage message and update the manpage to match.

Note that the new options aren't wonderfully useful, since cd(4) at least
promptly unlocks the drawer when eject closes the device.
 1.15  06-Oct-2001  bjh21 KNFify
 1.14  20-Aug-2001  ad Use getrawpartition().
 1.13  21-Jan-2001  mycroft Add aliases for `dvd', `dvdrom', et al.
 1.12  26-Mar-1999  bouyer Oups, complete braindamage yesterday. DIOCEJECT does the rigth thing for both
disks and CDs, it's just don't have to call DIOCLOCK before, unless we're
doing a forced eject: DIOCEJECT will check for device use and unlock the door
if allowed.
 1.11  25-Mar-1999  bouyer Use CDIOCEJECT instead of DIOCEJECT for cdrom devices (this one allows
opening the tray without media). While I'm there add 'sd' to the
device list (so that I can eject my MO easily).
 1.10  18-Feb-1999  tron Remove program description from source code, it's already in "eject.1".
 1.9  18-Feb-1999  cjs Remove mkdep source code from this file. (!)
 1.8  17-Feb-1999  tron New improved "eject" command contributed by Chris Jones in PR bin/6988.
 1.7  08-Feb-1999  bouyer Take advantage of the recent changes to sd/cd and DIOCEJECT:
open the raw character device for nicknames (so that eject will open the
CD even without medias). Implement the raw_to_blk pathname conversion in
umount_mounted().
Create a new 'cdrom' type, add a '-l' switch which will cause a media load
on cdrom devices type.
Add 'sd0, sd1, sd2' nicknames to allow easy use with removable rewritable
disks (ZIP, jazz, MO, ...).
 1.6  07-Dec-1997  msaitoh Don't print NULL characters on "eject -n".
 1.5  07-Nov-1997  mikel add missing newline to usage string; from Manuel Bouyer in PR 4442
 1.4  18-Oct-1997  lukem branches: 1.4.2;
WARNSify, fix .Nm usage, getopt returns -1 not EOF
 1.3  30-Jan-1996  thorpej Disks now share a common interface for "unlock" and "eject". Teach
eject(1) how to use it. There is now a single eject_disk() rather
than eject_floppy(), eject_cdrom(), etc.
 1.2  22-Oct-1995  pk Download from `netbsd-1-1' branch.
 1.1  19-Oct-1995  pk branches: 1.1.2;
file eject.c was initially added on branch netbsd-1-1.
 1.1.2.1  19-Oct-1995  pk Eject program from Matthieu Herrb. Severely hacked on by me.
More versatile `fdeject' which it replaces.
 1.4.2.1  12-Nov-1997  mellon Pull rev 1.5 up from trunk (mikel)
 1.20.16.1  18-May-2008  yamt sync with head.
 1.21.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.26.6.1  30-Oct-2012  yamt sync with head

RSS XML Feed