Subject: Re: #ifdef __i386 in usr.bin/eject
To: None <current-users@NetBSD.ORG>
From: Brad Spencer <email@example.com>
Date: 10/24/1995 20:04:34
>#define AUTHOR "firstname.lastname@example.org (Ty Sarna)"
> * On the whole the eject program is nice, though. One good addition would
> * be to allow it to accept a mount point as an argument, so one could say
> * "eject /mnt" and have it eject the floppy or disk or whaveter was
> * mounted there.
>...provided, of course, that it umounts it before doing so.
>#undef AUTHOR /* "email@example.com (Ty Sarna)" */
>I'm really a software toolsmith and a musician by trade, but nobody really
>needs a software toolsmith much, and the music industry is so cutthroat
>that it would probably do me in. So I do systems administration on the
>side as a hobby. Funny that my hobby finds more work than either of my
I second that... I think that it is possible to issue the eject ioctl
to a mounted CDROM which is bad, but also, I belive that the 'umount
-f' doesn't force the unmount to occure. Bugs someplace, I suppose...
Anyway, sometime ago I wrote an 'eject' program which pretty much
emulates the Sun 'eject', and tries to make sure that the CDROM is
Brad Spencer - firstname.lastname@example.org