Messages in this thread | | | Subject | Re: Does sysfs really provides persistent hardware path to devices? | Date | Sun, 14 Mar 2004 15:25:57 -0400 | From | Horst von Brand <> |
| |
Andrey Borzenkov <arvidjaar@mail.ru> said:
[...]
> I am trying to assign name for a USB slot on my PCs front so that when I > plug in USB stick or USB drive or whatever I get the same name. Always.
Not necessary: You can mount by volume label, or UUID (Yes, need a sane filesystem for that... and MS-DOS ones aren't. Sorry.)
Dangerous: You plug a _different_ USB stick in, and think it is the same.
Besides, plugging your drive in "the same place" on USB is useful today, with 1 or 2 conectors. Add hubs, and you are talking about hundreds of places... better concentrate on getting the machine keep track of bureaucratic details. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/
| |