Re: Does sysfs really provides persistent hardware path to devices?

From: Dax Kelson (dax@gurulabs.com)
Date: Sat Jul 26 2003 - 17:51:24 EST


On Sat, 2003-07-26 at 10:59, J.C. Wren wrote:
> Specifically using your example of USB memories, I have seen devices move
> around just because of rebooting. I have a Sandisk SDDR-31 (MMC) and a
> SDDR-33 (CF) that remain plugged into the same USB ports all the time.
> Occasionally, they come up swapped (normally the MMC reader is /dev/sda),
> which is really infuriating, since my scripts for building MMC and CF cards
> then exhibit much breakage.

man devlabel in Red Hat Linux 9 and above would solve this 100% for you.

Also, the devlabel home page:

http://www.lerhaupt.com/linux.html

and a whitepaper on it:

http://www.dell.com/us/en/esg/topics/power_ps1q03-lerhaupt.htm

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



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:30 EST