login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
December
»
21
Re: sysfs programming
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: sysfs programming
Date: Saturday, December 20, 2008 - 8:25 pm
On Sat, Dec 20, 2008 at 12:13:23AM -0800, Peter wrote:
quoted text
> Hi , > I am writing a project for my university and i am planning on using > sysfs for my kernel module to communicate with user space , ive read > some articles and i know how sysfs works, its just i dont know how the > code should be written . Could you please send me a sample code about > how to create an attribute file at /sys/module/(some kernel module)/ > please ?
What is wrong with the examples in the kernel tree itself? Are they not sufficient in some way? thanks, greg k-h --
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:
sysfs programming
, Peter
, (Sat Dec 20, 1:13 am)
Re: sysfs programming
, Greg KH
, (Sat Dec 20, 8:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
David Miller
Re: 'global' rq->clock
Vivek Goyal
Re: perf hw in kexeced kernel broken in tip
git
:
Len Brown
Re: fatal: unable to create '.git/index': File exists
Oliver Hoffmann
git init --bare versus git --bare init
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
Erik Mouw
Re: cpio command not found
Andy Parkins
Re: cloning/pulling hooks
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Paulius Zaleckas
Re: [RFC] Patch to option HSO driver to the kernel
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Gilles Chehade
Re: Longest Uptime?
Colocation donated by:
Syndicate