Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cornelia Huck
Date: Wednesday, October 10, 2007 - 2:05 am

On Tue, 9 Oct 2007 15:26:38 -0700,
Greg KH <greg@kroah.com> wrote:


If we consider everything that shows up in sysfs as API, we cannot go
ahead and change it without risking userspace breakage. The hierarchy
of objects may very well be an "implementation detail". Otherwise, we
would need to lay out for every user of the kobject infrastructure
which information userspace can rely on (like it is documented for the
driver model).


Yes, non-automatic symlink handling is a large source of pain and
errors. They should probably be tied to sysfs_dirents instead of
kobjects.


That's what I tried to say as well :)
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 05/22] sysfs: implement sysfs_find_child(), Tejun Heo, (Thu Sep 20, 1:05 am)
[PATCH 06/22] sysfs: restructure addrm helpers, Tejun Heo, (Thu Sep 20, 1:05 am)
[PATCH 01/22] sysfs: make sysfs_root a pointer, Tejun Heo, (Thu Sep 20, 1:05 am)
[PATCH 04/22] sysfs: make SYSFS_COPY_NAME a flag, Tejun Heo, (Thu Sep 20, 1:05 am)
[PATCH 14/22] sysfs: s/symlink/link/g, Tejun Heo, (Thu Sep 20, 1:05 am)
[PATCH 21/22] sysfs: kill sysfs_hash_and_remove(), Tejun Heo, (Thu Sep 20, 1:05 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and d ..., Eric W. Biederman, (Thu Sep 27, 12:25 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and d ..., Cornelia Huck, (Wed Oct 10, 2:05 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and d ..., Eric W. Biederman, (Wed Oct 10, 6:16 am)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and d ..., Eric W. Biederman, (Wed Oct 10, 2:16 pm)
Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and d ..., Eric W. Biederman, (Tue Oct 16, 4:54 pm)