Re: Multiple scsi adapters, naming disks on scsi

Paul Jakma (paul@clubi.ie)
Fri, 26 Mar 1999 23:07:49 +0000 (GMT)


On Thu, 25 Mar 1999, Marty Leisner wrote:

Also, how do I specify which scsi ids become which disks?
My boot disk is now ID #6 on the first scsi bus (its /dev/sda),
I understand if I add a disk at ID #4, it will become /dev/sda.
How do I modify this behavior (id #6 should stay /dev/sda).

check out richard gooch's devfs, which is a virtual /dev (virtual the
way /proc is), and names scsi disks according to their physical
location, rather than the the order they were located by the kernel
at boot

so the scsi device on id4 always has the same /dev name, irregardless
of what other devices you may or may not have attached. very useful.

http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html

regards,

--
Paul Jakma
paul@clubi.ie	http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
Nothing succeeds like success.
		-- Alexandre Dumas

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