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

From: Greg KH (greg_at_kroah.com)
Date: 07/26/03

  • Next message: Jussi Laako: "Re: Reiser4 status: benchmarked vs. V3 (and ext3)"
    Date:	Sat, 26 Jul 2003 13:07:14 -0400
    To: "J.C. Wren" <jcwren@jcwren.com>
    
    

    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/


  • Next message: Jussi Laako: "Re: Reiser4 status: benchmarked vs. V3 (and ext3)"

    Relevant Pages

    • RE: Who changed /proc/<pid>/ in 2.6.0-test5-bk9?
      ... when I pass an abstraction (data structure etc) around ... didn't have the ability to do CLONE_THREAD at all. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: userspace breakage
      ... breakage of user space, usb, nfs, memory management, is beyond absurd. ... and we dont' care about breakage of out-of-kernel stuff. ... I have a family too Linus and I like to spend my evenings with them rather then unwinding Olaf's bugs in NFS (the most ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH] Sample fix for hyperthread exploit
      ... > Basing this off the uid (or the ability to ptrace) makes it at least ... Amit Shah ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 260t11-bk4 problem -- hung processes
      ... Fix the PROT_EXEC breakage on anonymous mmap. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 05/16] IB uverbs: core implementation
      ... calling EXPORT_SYMBOL_GPLonly functions in this code, the ability for ... it for someone to use the BSD license on it in the future, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)