Search Linux Wireless

Re: [wireless] wireless: Keep phy name consistent across module reloads.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-09-24 at 14:25 -0700, Ben Greear wrote:

> > Actually, right now it doesn't even allow you to use a "phy%d" name,
> > which is because I don't want (sysfs, debugfs) errors coming from doing
> > "iw phy0 set name phy1" and then plugging in a new device ... In doing
> > that, I manage to avoid having to allocate two different numbers...
> 
> I tried rename few months ago, to rename back to phy0, and it failed
> for no obvious reason..so I just assumed rename didn't work at all.
> Would you like a patch to print something in kernel logs when someone
> tries to rename to phy%d?

Well, if you want to work on getting an unused phy%d name this would be
kinda pointless, no?

> > I suppose it'd be possible to treat this more like interfaces. Want to
> > also make it per net namespace? ;-)
> 
> Probably best for all involved if I don't mess with namespaces right now,
> but I'll be happy to work on (or test) a patch to find the first un-used phyX name,
> if that's what you mean.

I think that'd be OK, even if maybe at this point a little unexpected?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux