[3466] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Name assignation of scsi devices

daemon@ATHENA.MIT.EDU (Andrzej Krzysztofowicz)
Fri Mar 6 08:25:58 1998

From: Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
To: leroy@meg.fr (Mr LEROY christophe)
Date: 	Fri, 6 Mar 1998 11:29:42 +0100 (CET)
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <mxMail.9835144126@meg.meg.fr> from "Mr LEROY christophe" at Mar 6, 98 03:17:17 am

Hi,

> 
> I've tried devfs, it's exactly what I need.
> There is just one probleme:
> When my system boot, there is no ZIP disc into zip drive so only c0b0t6u0
> appears in /devfs/sd
> So when I insert a ZIP into the drive and tries to mount /devfs/sd/c0b0t6u0p4 , 
> mount tells me that this special device does not exist.
> 
> When i do mount /dev/sdb /mnt, kernel detects the ZIP and it's partition, and
> mount it.
> After that, I get c0b0t6u0p4 in /devfs/sd
> 
> Is there a way to force kernel to detect ZIP partition before executing mount ?
> 

I met the same problem and have just finished workaround for it.
You can try my devfs patch, which allows you (among some other
modifications) to assign specyfic host numbers to apropriat drivers using
"scsihosts=<host1>:<host2>:..." kernel or scsi_mod module parameter.
This patch is against 2.1.86 + devfs-patch-v19 and is available as

ftp://rudy.mif.pg.gda.pl/pub/People/ankry/linux-patches/devfs/patch-current-devfs

I tried it with ppa + aha1542 and it worked OK.
It has been send to devfs Author, but still is not included into devfs 
(perhaps as no newer version of devfs-patch has been released ...)

Notice, that this patch is, of course, useless if you don't use devfs.

with regards
-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  tel.  (0-58) 347 14 61
Wydz.Fizyki Technicznej i Matematyki Stosowanej Politechniki Gdanskiej

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post