Hani Benhabiles <kroo...@gmail.com> writes: > This would allow a user to be able to refer to the device when using commands > like device_del. > > Signed-off-by: Hani Benhabiles <kroo...@gmail.com>
No. Device IDs belong to the user. Any IDs the system picks automatically can collide with the user's IDs. Management applications assume that they can pick any ID they want. Your patch can introduce ID collisions, and thus make existing configurations fail. If I remember correctly, a few legacy convenience options pick IDs for historical reasons. If you use them, you need to be aware of the IDs they pick. Management applications shouldn't use them. We've discussed this a couple of times already, by the way.