Subject: Re: #ifdef __i386 in usr.bin/eject
To: woods@most.weird.com (Greg A. Woods), matthew green <mrg@mame.mu.Oz.Au>
From: Data In~rte~vgri}ity EnginNO CARRIER <greywolf@defender.VAS.viewlogic.com>
List: current-users
Date: 10/25/1995 12:09:44
Well, hey, this time around we have the source -- Hell, we WROTE the source --
so we can make it configurable by an RMEDIA variable, falling back on a
file, say /etc/rmedia.conf (or whatever).

You get the idea.  Let's do this one right.

#define AUTHOR "woods@most.weird.com (Greg A. Woods)"

/*
 * [ On Wed, October 25, 1995 at 14:01:57 (+1000), matthew green wrote: ]
 * > Subject: Re: #ifdef __i386 in usr.bin/eject 
 * >
 * > i like how "eject" (no args) works under sunos.  i really wish
 * > that it would under netbsd, also.  it just ejects the cdrom or
 * > floppy (or both?  don't know)...
 * 
 * On my Sun 3/260 with SunOS-4.1.1_U1:
 * 
 * ttyp1:<woods@most> # eject -d
 * eject: default device is "/dev/rfd0c"
 * ttyp1:<woods@most> # eject -n
 * eject: nicknames are:
 *         fd -> /dev/rfd0c
 *         fd0 -> /dev/rfd0c
 *         floppy -> /dev/rfd0c
 *         /dev/fd0 -> /dev/rfd0c
 *         /dev/fd0a -> /dev/rfd0c
 *         /dev/fd0b -> /dev/rfd0c
 *         /dev/fd0c -> /dev/rfd0c
 *         sr -> /dev/rsr0
 *         sr0 -> /dev/rsr0
 *         cd -> /dev/rsr0
 *         cdrom -> /dev/rsr0
 *         /dev/sr0 -> /dev/rsr0
 * 
 * and the manual page says:
 * 
 *   BUGS
 *      There should be a way to change the default  on  a  per-user
 *      basis.
 * 
 * It appears the nickname table is hard coded in the SunOS implementation....
 * 
 * -- 
 * 							Greg A. Woods
 * 
 * +1 416 443-1734			VE3TCP			robohack!woods
 * Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>
 * 
 */

#undef AUTHOR	/* "woods@most.weird.com (Greg A. Woods)" */




				--*greywolf;
--
Solaris 2 is not an upgrade from Solaris 1.  They just want you to THINK it is.