
		    Odcontrol-1.1 for FreeBSD-2.X
		    =============================

							   17-NOV-1996
						      Shunsuke Akiyama
						 akiyama@kme.mei.co.jp


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

This is a program that controls miscellaneous facility of SCSI optical
disk drive.  This program work under FreeBSD-2.1.5-RELEASE.  This
program also work under FreeBSD-2.1.0-RELEASE + my
od-driver-2.1.0R-PL3 package and FreeBSD-2.2-960612-SNAP or later
versions.

This program has following functions:

   * Current drive cache mode control.
   * Ejecting a media from drive.
   * Physical formatting a media.
   * Verify a media and reassign bad block.

Reassigning bad block is only works with the drive supported SCSI
'Reassign Blocks' command.

To disable drive write cache with this program is useful for kernel
panic if you using some OLYMPUS MO drive.


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

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

    % tar zxf odcontrol-1.1.tar.gz
    % cd odcontrol-1.1

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/sbin, manual is
installed to /usr/share/man.  If you want to install different
directory, specify BINDIR and MANDIR as make parameter.

    (ex. program as /usr/local/bin, manual as /usr/local/man)
    # make make BINDIR=/usr/local/bin MANDIR=/usr/local/man/man install


Others
------

* scsi_sense.c is from FreeBSD-2.2-961014-SNAP distribution.  I used
  it for this program with minimal modifications.

* Bug reports, patches and any enhancements ideas are welcome, please
  send to me.


$Id: README,v 1.4 1996/11/17 14:08:50 shun Exp $
