Re: how to look for source code in kernel

2012-12-28 Thread Jonathan Neuschäfer
On Fri, Dec 28, 2012 at 11:49:53AM -0800, Eric W. Biederman wrote: > Al Viro writes: > > > On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote: > >> But then I am probably peculiar keeping an index of the source code in > >> my head. When I need to look for something and I don't kn

Re: trace_console function definition not found in Linux kernel v3.5

2012-12-28 Thread Frank Ch. Eigler
siddharth goel writes: > In file kernel/printk.c in Linux Kernel 3.5 there is a function call > trace_console(text, 0, len, len); @line 1219 .  > But I could not find the definition for same. Am I missing any concept ? This is a call to a tracepoint. Its definition is synthesized from macros in

sys fs interface

2012-12-28 Thread Rahul Bedarkar
Hi, When driver provides sys fs interface for user space programs, how we specify name of file to be created ? Thanks, Rahul B. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: how to look for source code in kernel

2012-12-28 Thread Arun KS
On Fri, Dec 28, 2012 at 3:19 PM, Mulyadi Santosa wrote: > On Fri, Dec 28, 2012 at 12:19 PM, anish singh > wrote: > > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta > wrote: > > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > > can anybody tell me how to look into source

Re: how to look for source code in kernel

2012-12-28 Thread Mulyadi Santosa
On Fri, Dec 28, 2012 at 12:19 PM, anish singh wrote: > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta wrote: > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > can anybody tell me how to look into source code, as most are hidden in > > kernel. > > You can find

Re: Bad magic number and

2012-12-28 Thread Mulyadi Santosa
On Wed, Dec 26, 2012 at 12:19 PM, sham pavman wrote: > > mkfs -t ext4 /dev/sdb I support what Prashant said (I am not careful here), you should use: mkfs.ext4 /dev/sdb1 then mount /dev/sdb1 -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com tra