Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 1996 16:08:51 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        sos@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Re: ncrcontrol proposal
Message-ID:  <199611252208.QAA15719@brasil.moneng.mei.com>
In-Reply-To: <199611252136.WAA00386@ravenock.cybercity.dk> from "sos@FreeBSD.org" at Nov 25, 96 10:36:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> I have a probelm with ncrcontrol being in /usr/sbin. I need it
> to shut off tagged cmds on one of my SCSI drives, and this
> needs to be done before the /usr etc filesystems are mounted.
> I would like it to be moved to /sbin and then linked static
> 
> Opinions ??

STRICTLY opinion:

This is a Bad Idea although it does perhaps fix your particular problem.

It does not fix the case where a broken drive is the root drive, and it
adds /sbin bloat to "fix" a more generic problem.

First off, I think changes are in the pipe to move some of the
functionality (including tags, I believe) into a generic SCSI driver,
leaving the low level drivers to handle device specific stuff.  This
is probably a Very Good Thing(tm).

If so - it means ncrcontrol may not fix your problem, but hopefully
there will be an equivalent program to do the same thing.

Still, that does not really "fix" the problem because to get to such
a program, you have to be able to mount a filesystem and run code -
which you can't if your root disk is cruddy and needs tags disabled.

A "better" way to do this might be to bubble this up into userconfig
somehow so one can "boot -c" and set flags on a particular SCSI device.

I understand that there may not be anywhere near enough framework to
support something like this.  :-/

But you did ask for opinions.

... JG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611252208.QAA15719>