Messages in this thread | | | From | Alistair John Strachan <> | Subject | Re: Rescan SCSI Bus without /proc/scsi? | Date | Tue, 31 Jan 2006 14:44:05 +0000 |
| |
On Tuesday 31 January 2006 13:51, Kurt Garloff wrote: > Hi, > > On Mon, Oct 31, 2005 at 12:13:54PM +0100, Andreas Schwab wrote: > > Nico Schottelius <nico-kernel@schottelius.org> writes: > > > This breaks the popular rescan-scsi-bus.sh from Kurt Garloff. > > > Is there a possibility to do that through /sys somehow or do I have > > > to reanable /proc/scsi? > > > > Your version of rescan-scsi-bus.sh is quite old. Current versions of > > rescan-scsi-bus.sh already use /sys when available. > > Attached for reference.
From the attachment;
if test ! -d /proc/scsi/; then echo "Error: SCSI subsystem not active" exit 1 fi
:-)
-- Cheers, Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.' Third year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |