Re: Rescan SCSI Bus without /proc/scsi?
- From: Alistair John Strachan <s0348365@xxxxxxxxxxxx>
- 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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Rescan SCSI Bus without /proc/scsi?
- From: Kurt Garloff
- Re: Rescan SCSI Bus without /proc/scsi?
- References:
- Re: Rescan SCSI Bus without /proc/scsi?
- From: Kurt Garloff
- Re: Rescan SCSI Bus without /proc/scsi?
- Prev by Date: Re: [PATCH] exec: Cleanup exec from a non thread group leader.
- Next by Date: Re: Fw: [PATCH 2.6.16-rc1-git4] accessfs: a permission managing filesystem
- Previous by thread: Re: Rescan SCSI Bus without /proc/scsi?
- Next by thread: Re: Rescan SCSI Bus without /proc/scsi?
- Index(es):
Relevant Pages
- Re: Newbie Three
... echo "tesgform"; ... echo "suspected alien invasion case topic table";
... echo "suspected alien invasion unknown group name"; ... (comp.lang.php) - Newbie Three
... echo "tesgform"; ... echo "suspected alien invasion case topic table";
... echo "suspected alien invasion unknown group name"; ... (comp.lang.php) - Re: Apple Remote Desktop root vulneravility
... If you are trying to run a remote install script such as the Adobe Silent installer,
use the lock screen feature in ARD. ... # umount any previous mounted installer images
... trap 'cd "$"' EXIT ... echo "This version of MacOS is not supported."
... (Bugtraq) - Re: Shell Script to Remove Old Files
... Note it needs a TSM server: ... # Verify command line arguments ...
echo "\nError: $STARTDIR does not exist.\n" ... (comp.unix.admin) - Re: dummy update
... ## Script to find INPLACE ALTERS in a table/database without locking up ...
echo "Failed to get DATA PAGES from oncheck output ..please check ... sql_stmt=`echo "UNLOAD
TO tab.out \ ... (comp.databases.informix)