Re: Rescan SCSI Bus without /proc/scsi?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux