summaryrefslogtreecommitdiff
path: root/usr.bin/eject
AgeCommit message (Collapse)Author
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
to be the most common practice in our tree.
2002-10-02file system, not filesystem.wiz
2001-10-06Whitespace fixes and formatting improvements.wiz
2001-10-06Add -L and -U options to eject(1) that call DIOCLOCK. Also generally cleanbjh21
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.
2001-10-06KNFifybjh21
2001-08-20Use getrawpartition().ad
2001-02-27fix NetBSD RCS id tagscgd
2001-01-21Add aliases for `dvd', `dvdrom', et al.mycroft
1999-03-26Oups, complete braindamage yesterday. DIOCEJECT does the rigth thing for bothbouyer
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.
1999-03-25Use CDIOCEJECT instead of DIOCEJECT for cdrom devices (this one allowsbouyer
opening the tray without media). While I'm there add 'sd' to the device list (so that I can eject my MO easily).
1999-02-18Remove program description from source code, it's already in "eject.1".tron
1999-02-18Remove mkdep source code from this file. (!)cjs
1999-02-17New improved "eject" command contributed by Chris Jones in PR bin/6988.tron
1999-02-08Take advantage of the recent changes to sd/cd and DIOCEJECT:bouyer
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, ...).
1998-09-05Assign my copyrights to TNF.pk
1998-05-11adjust to more accurately reflect the use of the -t option, per PR#5443fair
1997-12-07Don't print NULL characters on "eject -n".msaitoh
1997-11-07add missing newline to usage string; from Manuel Bouyer in PR 4442mikel
1997-10-18WARNSify, fix .Nm usage, getopt returns -1 not EOFlukem
1996-01-30Disks now share a common interface for "unlock" and "eject". Teachthorpej
eject(1) how to use it. There is now a single eject_disk() rather than eject_floppy(), eject_cdrom(), etc.
1995-10-22Download from `netbsd-1-1' branch.pk