Search Linux Wireless

Re: renaming in debugfs?

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

 



On Thu, Feb 15, 2007 at 12:52:53PM +0100, Johannes Berg wrote:
> For the wiphy stuff I wanted to provide a debugfs as well as a sysfs dir
> for drivers (or the d80211 stack).
> 
> But then I decided that stable wiphy names will be a good thing instead
> of just numbering them wiphy%d. Does anyone have any idea how to rename
> directories in debugfs? I guess that for sysfs it'll just work if I
> change the kobject name, but maybe that's wrong too?

No, use kobject_rename() if you want to rename a kobject in sysfs (or
the real device_rename() call if you have a struct device).

For debugfs, there is no rename function yet, but it would be pretty
trivial to add one if you wish.

thanks,

greg k-h
-
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