Am Fre, 2002-09-06 um 19.40 schrieb Gary_Lerhaupt@Dell.com:
> Attached is a program I have been working on to allow for consistent acce=
ss
> to storage devices. It works by creating symlinks to actual storage devi=
ce
> names. When coupled with the UUID of the disk in question, the symlink c=
an
> consistently point to the right data even if the device name changes.
> Devices can thus be referenced by their symlink only and this symlink is
> user-definable. =20
Except that for source RPMs sucking big time the stuff is REALLY cool!
I could also see benefits for other devices like HID where the current
ordering is done after a first come - first serve approach where the
minor device numbers follow the order the devices appear on the bus
which is quite easy to mess up and never consistent; Applying your
scheme to and-class devices also would allow to link whatever device
to a fixed device node which could solve many problems as far as
I can see.
Can you elaborate how you retrieve the IDs of a firewire or USB
controller?
=20
--=20
Servus,
Daniel
--=-wsdg4Nm9oh3Z9BU1HIIK
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9egBzchlzsq9KoIYRAmq4AJ9g7481XM215vs4CJ8D5MbgCM0QLwCcD6Gc
ea1M4f3lOlicf5yfKMoD6wA=
=ihle
-----END PGP SIGNATURE-----
--=-wsdg4Nm9oh3Z9BU1HIIK--
-
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/