"Bois, Mathieu" wrote:
>
> Hi,
>
> I'm wondering if a command like drvconfig/disks for Solaris exist on Linux
> for PC too.
>
> A few days ago, I have hot plugged a SCSI disk while Linux was running, but
> it didn't want to recognize there was a /dev/sdb device now plugged in
> (during the boot, it detected the usual SCSI disk /dev/sda).
>
> I think a solution would be to put the SCSI driver, aic7xxx as a module and
> not part of the kernel, and unload and reload it when I want to hot plug a
> new disk. BUT my first SCSI disk is the disk where the "/" of Linux is
> located in, so I couldn't even do that.
>
Yep, modularize the driver, then it sure works. I am not sure if it will
work otherwise, but you could try it - should be faster than forst
trying it with a modularized kernel :-)) "Try what?" - well, wait a
second... AFAIR:
echo "scsi add-single-device 0 0 [id] 0" > /proc/scsi/scsi
For a better explanation have a look into the scsi-programming-howto...
Karsten
--
-----------------------------
Why do we have to hide from the police, daddy?
Because we use emacs, son. They use vi.
------------------------------
[EMAIL PROTECTED]
http://www.tu-bs.de/~y0008422/
------------------------------
Medienwissenschaftler in BS:
http://www.tu-bs.de/institute/mewi/