Commit Graph

9 Commits

Author SHA1 Message Date
wiz caeab83572 Whitespace fixes and formatting improvements. 2001-10-06 18:51:04 +00:00
bjh21 79931f7b04 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.
2001-10-06 15:43:33 +00:00
cgd 82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +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
pk b8baa5e581 Assign my copyrights to TNF. 1998-09-05 17:31:44 +00:00
fair ef37583d98 adjust to more accurately reflect the use of the -t option, per PR#5443 1998-05-11 21:45:44 +00:00
lukem b9d1fbcf87 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:38:09 +00:00
pk 764fa4b6ef Download from `netbsd-1-1' branch. 1995-10-22 16:48:52 +00:00