Re: [PATCH] Driver-core: Fix bluetooth network device rename regression

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kay Sievers
Date: Tuesday, July 27, 2010 - 10:26 pm

On Wed, Jul 28, 2010 at 07:12, Eric W. Biederman <ebiederm@xmission.com> wrote:

Yeah, but most of these things we should have fixed over the last
years. There is no single WAIT_FOR instruction left in udev rules. :)


Sure, I meant, if the class-compat stuff is used when a conversion is done.


Yeah, that's why the class-glue directories exist. But so far we did
not support stacking of classes of different types.


Classes do the same. They are usually distinguished by its name, like
mouseX, inputX, sdX, sdX3, they are all different, but still belong to
the same 'subsystem'.


They are usually created by the same code, in many cases by the same
drivers, and have not been a real problem so far. As you said, network
devices are special here, because of the ability to rename them from
userspace.

At some time in the future, when buses and classes are merged, I
expect stuff can just set a flag to have a 'glue dir' created or not.

For now 'glue dirs' are limited to be created between a bus and a
class device. It could possibly be extended to be created between
classes of different types to handle issues like this.

Kay
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bugme-new] [Bug 16257] New: sysfs changes break hwsim ..., Eric W. Biederman, (Mon Jun 21, 3:22 pm)
Re: [Bugme-new] [Bug 16257] New: sysfs changes break hwsim ..., Eric W. Biederman, (Mon Jun 21, 3:55 pm)
Re: [Bugme-new] [Bug 16257] New: sysfs changes break hwsim ..., Eric W. Biederman, (Mon Jun 21, 5:05 pm)
Re: [PATCH] sysfs: Don't allow the creation of symlinks we ..., Maciej W. Rozycki, (Sat Jul 10, 3:30 pm)
Re: [RFC][PATCH] mac80211_hwsim: No parent is better than ..., Eric W. Biederman, (Mon Jul 12, 7:23 am)
[PATCH 0/2] Support untagged symlinks to tagged directories., Eric W. Biederman, (Tue Jul 20, 10:08 pm)
[PATCH 1/2] sysfs: sysfs_delete_link handle symlinks from ..., Eric W. Biederman, (Tue Jul 20, 10:10 pm)
[PATCH 2/2] sysfs: allow creating symlinks from untagged t ..., Eric W. Biederman, (Tue Jul 20, 10:12 pm)
Re: [PATCH 0/2] Support untagged symlinks to tagged direct ..., Eric W. Biederman, (Wed Jul 21, 1:20 pm)
[PATCH] Driver-core: Fix bluetooth network device rename r ..., Eric W. Biederman, (Thu Jul 22, 2:16 am)
Re: [PATCH] sysfs: Don't allow the creation of symlinks we ..., Eric W. Biederman, (Thu Jul 22, 3:05 am)
Re: [PATCH] sysfs: Don't allow the creation of symlinks we ..., Eric W. Biederman, (Thu Jul 22, 3:35 am)
Re: [PATCH] sysfs: Don't allow the creation of symlinks we ..., Eric W. Biederman, (Thu Jul 22, 4:27 am)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Thu Jul 22, 10:18 am)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Thu Jul 22, 6:31 pm)
[PATCH] Driver-core: Always create class directories for c ..., Eric W. Biederman, (Sat Jul 24, 10:43 pm)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Tue Jul 27, 11:17 am)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Tue Jul 27, 11:44 am)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Tue Jul 27, 1:53 pm)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Tue Jul 27, 10:12 pm)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Kay Sievers, (Tue Jul 27, 10:26 pm)
Re: [PATCH] Driver-core: Fix bluetooth network device rena ..., Eric W. Biederman, (Wed Jul 28, 12:57 am)