
		 Eject-1.5 for FreeBSD 2.X and later
		 ===================================

							 Sep. 24, 2000
						      Shunsuke Akiyama
						   akiyama@FreeBSD.org


About this program
------------------

This is a simple program that eject media from CD or optical disk
drive.  This program work on FreeBSD 2.1.5-RELEASE or later version.

This program was developed to debug my optical disk driver.  If you
want to use with optical disk, it required my optical disk driver
(od-driver-951104-SNAP or later version).
FreeBSD 2.2 snapshots contains the optical disk driver, but it's not
implemented required ioctl's in early version of snapshots.  If you
want to use this program for optical disk, use 2.2-960612-SNAP or
later snapshot.  Or apply od-driver patch for each version.
For FreeBSD version 3 or 4, od(4) is not supported, because SCSI
driver changed to CAM.  Please use od-driver for each versions.


History
-------

Changes from eject-1.4:

  * Fix security holes (root-exploitable buffer overflows).


How to install
--------------

Install is very easy.
Extract this package, then move to extracted directory.

    % tar zxf eject-1.5.tar.gz
    % cd eject-1.5

And

    % make depend all

Next, su to root and install this program.

    % su
    Password:
    # make install

That's all.

In default case, program is installed to /usr/local/sbin, manual is
installed to /usr/local/man.  If you want to install different
directory, specify BINDIR and MANDIR as make parameter.

    (ex. program as /usr/local/bin/eject)
    # make BINDIR=/usr/local/bin install


Others
------

Bug reports and patches are welcome, please send to me.


$Id: README,v 1.9 2000/09/24 12:32:59 akiyama Exp $
