Commit Graph

9 Commits

Author SHA1 Message Date
tron f02e2756d9 Remove program description from source code, it's already in "eject.1". 1999-02-18 20:02:43 +00:00
cjs 03cb143eab Remove mkdep source code from this file. (!) 1999-02-18 17:18:46 +00:00
tron a651e1a07b New improved "eject" command contributed by Chris Jones in PR bin/6988. 1999-02-17 22:59:14 +00:00
bouyer 425c994527 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, ...).
1999-02-08 16:35:33 +00:00
msaitoh 7b5f411e4a Don't print NULL characters on "eject -n". 1997-12-07 19:04:36 +00:00
mikel 77053262a2 add missing newline to usage string; from Manuel Bouyer in PR 4442 1997-11-07 09:01:29 +00:00
lukem b9d1fbcf87 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:38:09 +00:00
thorpej 9ceb2e3fc2 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.
1996-01-30 18:35:47 +00:00
pk 764fa4b6ef Download from `netbsd-1-1' branch. 1995-10-22 16:48:52 +00:00