lkml.org 
[lkml]   [2003]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Does sysfs really provides persistent hardware path to devices?
On Sat, Jul 26, 2003 at 12:59:03PM -0400, 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.

Test out udev's ability to name devices based on bus topology (the USB
bus topology doesn't change for you.) It should solve your problem.

thanks,

greg k-h
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.181 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site