Le Mardi 26 F�vrier 2002 17:01, Stephane Bunel a �crit :
> Didier Link wrote:
> > Le Tue, 26 Feb 2002 � 10:01:21AM +0100, Aurelien Jarno a �crit :
>
> [...]
>
> > En effet c'est pas tr�s pratique ... Le scsi ne supporte pas la
> > connexion de p�riph�riques � chaud
>
>   Si, on peut le faire (cf. /usr/src/linux/drivers/scsi/scsi.c) :
>
> [...]
>   *  Native multichannel, wide scsi, /proc/scsi and hot plugging
>   *  support added by Michael Neuffer <[EMAIL PROTECTED]>
> [...]
>   * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
>   * with  "0 1 2 3" replaced by your "Host Channel Id Lun".
> [...]
>   * Usage: echo "scsi remove-single-device 0 1 2 3" >/proc/scsi/scsi
>   * with  "0 1 2 3" replaced by your "Host Channel Id Lun".
>

Mon sauveur !
J'ai rajout� 
pre-install     sd_mod          /usr/bin/lessecho "scsi add-single-device 0 0 
0 0" > /proc/scsi/scsi
dans mon /etc/modutils, et �a marche. Quand j'ins�re le zip, il me cr�� la 
partition, et quand je l'enl�ve, il me supprime la partition. G�nial.

Un petit truc bizarre quand m�me : echo "scsi ..........." > /proc/scsi/scsi 
marche, mais /bin/echo "scsi ..........." > /proc/scsi/scsi me sort :
/bin/echo: Erreur d'�criture.: Fonction non implant�e

J'ai donc utilis� lessecho. Bizarre tout de m�me.

Merci � tous pour votre aide, maintenant �a marche nickel.

Répondre à