From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Need help in understanding sysfs
Date: Wed, 10 Aug 2011 12:47:45 -0700 [thread overview]
Message-ID: <20110810194745.GA5766@kroah.com> (raw)
In-Reply-To: <CAKuUYSww-Y+GydzmnD8jAGg=xaTObsVgVP2DOOc_NzMLO5wKSw@mail.gmail.com>
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Wed, Aug 10, 2011 at 12:31:13PM -0700, Vaibhav Jain wrote:
> Hi,
> ?
> I need to understand actually how sysfs works and what is the hierarchy of the
> sysfs directory structure.
Again, that is very vague.
Do you want to know how the internal dentry store is working to create
the virtual filesystem, and how the namespace code handles things
properly when you are walking the tree from userspace?
Or do you just care enough as a driver developer who wants to add a new
file for their driver or device?
Those are two vastly different things, and there's stuff in the middle
as well.
> Specifically I need to know how to add entries in sysfs and how to make them
> work.
For what type of device?
And, as always, what is lacking in the existing documentation that comes
with the kernel that has you confused?
thanks,
greg k-h
next prev parent reply other threads:[~2011-08-10 19:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 19:09 Need help in understanding sysfs Vaibhav Jain
2011-08-10 19:18 ` Greg KH
2011-08-10 19:31 ` Vaibhav Jain
2011-08-10 19:47 ` Greg KH [this message]
2011-08-10 21:14 ` Jeff Haran
2011-08-10 21:43 ` Vaibhav Jain
2011-08-10 22:08 ` Anuz Pratap Singh Tomar
2011-08-10 22:12 ` Greg KH
2011-08-12 21:25 ` Vaibhav Jain
2011-08-12 21:35 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110810194745.GA5766@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.