login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
10
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alan Stern <stern@...>
To: Greg KH <greg@...>
Cc: Tejun Heo <htejun@...>, <ebiederm@...>, <cornelia.huck@...>, <kay.sievers@...>, <linux-kernel@...>
Subject:
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model
Date: Wednesday, October 10, 2007 - 11:38 am
On Tue, 9 Oct 2007, Greg KH wrote:
quoted text
> The rules for sysfs files are the following: > - one value, in text format, per file. > - no action apon open/close > - binary files are only allowed for "pass-through" type files > that the kernel does not touch (like for firmware and pci > config space) > - directories should be associated with a kobject where it makes > sense (no nesting deep subdirectories without a kobject > present)
You have to stretch this a little for the power/ subdirectory every device gets. The only kobject it corresponds to is the one in the device, which already corresponds to the parent directory. Alan Stern -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver ...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Sep 25, 6:17 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Tejun Heo
, (Thu Sep 27, 7:35 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Fri Oct 5, 2:18 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Tejun Heo
, (Fri Oct 5, 4:00 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Oct 9, 6:48 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Martin Bligh
, (Wed Oct 10, 1:24 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Wed Oct 10, 1:30 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Martin Bligh
, (Wed Oct 10, 2:26 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Wed Oct 10, 2:44 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Alan Stern
, (Wed Oct 10, 11:38 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Cornelia Huck
, (Wed Oct 10, 12:16 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Cornelia Huck
, (Tue Oct 9, 5:29 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Oct 9, 6:26 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Cornelia Huck
, (Wed Oct 10, 5:05 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Roland Dreier
, (Tue Oct 9, 7:20 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Oct 9, 7:28 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Cornelia Huck
, (Wed Oct 10, 5:11 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Thu Sep 27, 3:25 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Fri Oct 5, 2:23 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Fri Oct 5, 8:44 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Oct 9, 6:53 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Fri Oct 5, 8:12 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Tue Oct 9, 6:51 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Wed Oct 10, 9:16 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
,
, (Tue Oct 16, 6:18 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Tue Oct 16, 7:54 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Greg KH
, (Wed Oct 10, 4:44 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Eric W. Biederman
, (Wed Oct 10, 5:16 pm)
Re: [Devel] Re: [PATCHSET 3/4] sysfs: divorce sysfs from kob...
, Kirill Korotaev
, (Fri Oct 5, 9:03 am)
Re: [Devel] Re: [PATCHSET 3/4] sysfs: divorce sysfs from kob...
, Eric W. Biederman
, (Fri Oct 5, 9:24 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and dri...
, Tejun Heo
, (Sat Sep 29, 6:06 pm)
[PATCH 13/22] sysfs: implement sysfs_dirent based bin interf...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 11/22] sysfs: implement sysfs_dirent based file inter...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 22/22] sysfs: move sysfs_assoc_lock into fs/sysfs/kob...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 17/22] sysfs: s/sysfs_rename_mutex/sysfs_op_mutex/ an...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 20/22] sysfs: kill now unused __sysfs_add_file()
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 21/22] sysfs: kill sysfs_hash_and_remove()
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 19/22] sysfs: implement sysfs_dirent based rename - s...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 16/22] sysfs: convert group implementation to use sd-...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 15/22] sysfs: implement sysfs_dirent based link inter...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 18/22] kobject: implement __kobject_set_name()
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 09/22] sysfs: rename internal function sysfs_add_file()
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 05/22] sysfs: implement sysfs_find_child()
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 12/22] sysfs: drop kobj and attr from bin related sym...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 07/22] sysfs: implement sysfs_dirent based remove int...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 14/22] sysfs: s/symlink/link/g
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 10/22] sysfs: drop kobj and attr from file related sy...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 08/22] sysfs: implement sysfs_dirent based directory ...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 02/22] sysfs: separate out sysfs-kobject.h and fs/sys...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 06/22] sysfs: restructure addrm helpers
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 01/22] sysfs: make sysfs_root a pointer
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 03/22] sysfs: make sysfs_new_dirent() normalize @mode...
, Tejun Heo
, (Thu Sep 20, 4:05 am)
[PATCH 04/22] sysfs: make SYSFS_COPY_NAME a flag
, Tejun Heo
, (Thu Sep 20, 4:05 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jens Axboe
Re: [BUG] New Kernel Bugs
KAMEZAWA Hiroyuki
Re: 2.6.24-rc3-mm1
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Jarek Poplawski
Re: [BUG #12364] Re: HTB - very bad precision? HFSC works fine! 2.6.28
Alexey Dobriyan
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
9 users
and
771 guests
online.
Online users
electriccigare
seocompanyztjd
zeekec
outdoormensmoc
jaymekollarwz
prostatehealqyv
cordic
longshowercurt
wheelsbatteryu
Syndicate