On Tue, 2007-02-06 at 07:43 -0500, Dan Williams wrote:
> On Tue, 2007-02-06 at 13:46 +0200, Tambet Ingo wrote:
> > Why not use HAL UDI for device names to get at least some sort of
> > human-readable names?
> 
> We could provide mapping functions, but this is mostly for the D-Bus
> object paths for objects.  HAL UDIs have / in them, which are object
> paths.

The full UDI path does, yes, but the name component of it would be fine.
E.g, my machine has card has the following UDIs for network interfaces:

        /org/freedesktop/Hal/devices/net_00_01_29_82_08_a3 (eth0)
        /org/freedesktop/Hal/devices/net_00_11_95_be_05_03 (ath0)

so NM could quite easily use net_00_01_29_82_08_a3 and
net_00_11_95_be_05_03 for internal device names. They appear to be based
on the MAC address, so should be fairly robust against device renaming.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to