lkml.org 
[lkml]   [2006]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Rescan SCSI Bus without /proc/scsi?
Date
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/

\
 
 \ /
  Last update: 2006-01-31 16:38    [W:0.049 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site