lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 5 Sep 2007 16:04:13 +0200
From:	noah <noah123@...il.com>
To:	"Martin K. Petersen" <martin.petersen@...cle.com>
Cc:	"Jan Engelhardt" <jengelh@...putergmbh.de>,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: Rescanning SCSI/SATA bus

2007/9/5, Martin K. Petersen <martin.petersen@...cle.com>:
> >>>>> "Jan" == Jan Engelhardt <jengelh@...putergmbh.de> writes:
>
> Jan> 11:40 sun:../scsi_host/host0 # echo 1 >scan
> Jan> -bash: echo: write error: Invalid argument
>
> Jan> What is the proper way to trigger a rescan, if it comes to be
> Jan> necessary?
>
> echo "- - -" > scan
>

This doesn't appear to work either (2.6.22, sata_nv).
# find /sys -name scan
/sys/module/scsi_mod/parameters/scan
/sys/class/scsi_host/host9/scan
/sys/class/scsi_host/host8/scan
/sys/class/scsi_host/host7/scan
/sys/class/scsi_host/host6/scan
/sys/class/scsi_host/host5/scan
/sys/class/scsi_host/host4/scan
/sys/class/scsi_host/host3/scan
/sys/class/scsi_host/host2/scan
/sys/class/scsi_host/host1/scan
/sys/class/scsi_host/host0/scan

# echo --- > /sys/class/scsi_host/host9/scan
-bash: echo: write error: Invalid argument

# echo --- > /sys/module/scsi_mod/parameters/scan
-bash: /sys/module/scsi_mod/parameters/scan: Permission denied

  -- noah
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ