[8139] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: [PATCH] scsi reset from user space

daemon@ATHENA.MIT.EDU (James Bottomley)
Mon Feb 21 19:22:39 2000

Message-Id: <200002212222.QAA01287@jb96514.napervilleil.ncr.com>
To: Ricky Beam <jfbeam@bluetopia.net>
Cc: linux-scsi@vger.rutgers.edu
In-reply-to: Your message of "Mon, 21 Feb 2000 11:16:30 EST."
             <Pine.LNX.4.04.10002211057030.12259-100000@beaker> 
Mime-Version: 1.0
Content-Length: 690
Content-Type: text/plain; charset=us-ascii
Date:   Mon, 21 Feb 2000 16:22:42 -0600
From: James Bottomley <James.Bottomley@columbiasc.ncr.com>

jfbeam@bluetopia.net said:
> This is indeed an invaluable feature... there are all sorts of reasons
> to want to reset a single device or entire bus of an active scsi card.
>  HOWEVER, serious care must be taken in allowing this.
[...]
> If userland applications can request target and/or bus resets, then
> there needs to be a mechanism for userland applications to request
> that others DON'T do these actions.  (This redefines "bloody mess."
> :-)) 

Doug Gilbert put in a check to prevent anyone other than root from issuing a 
reset.  I believe this is sufficient, since philosophically UNIX doesn't 
usually have checks to prevent root from blowing their foot off.

James Bottomley



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post