Linux filesystem configuration infrastructure

2014-08-03 Thread Sankar P
) that make use of such a settings infrastrucutre ? Thanks. -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Question about VFS

2014-05-02 Thread Sankar P
2014-04-30 9:14 GMT+05:30 Adam Fowler ajf2...@columbia.edu: I've been trying to implement a file system using vfs and I've got mkdir and touch working but I can't seem to get echo blah new file to create a new file with content blah. touch and mkdir are only for file creation. You need to

Re: simplefs - a ridiculosly simple file system from the scratch

2014-03-29 Thread Sankar P
it for a later stage. I will be happy to get some patches though :) On Thu, Aug 8, 2013 at 8:36 PM, Sankar P sankar.curios...@gmail.com wrote: okay. Thanks. I will update this list once I write enough code for the next release :) On Thu, Aug 8, 2013 at 4:59 PM, Greg Freemyer greg.freem...@gmail.com

Storing GUIDs in linux [filesystems]

2014-03-27 Thread Sankar P
what is the way used by the Linux [filesystems] to store the GUID in linux to uniquely identify an user ? Were there any proposals in the past, to increase the size of the unix uid to match that of a GUID ? -- Sankar P http://psankar.blogspot.com

Re: is there any faster way to download using git?

2014-03-16 Thread Sankar P
this branch. Regards Rahul ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Sankar P http://psankar.blogspot.com

Re: Problem while compiling my module on downloaded kernel source

2014-03-15 Thread Sankar P
/listinfo/kernelnewbies -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Problem while compiling my module on downloaded kernel source

2014-03-15 Thread Sankar P
://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How to check if my kernel driver is leaking memory

2014-03-13 Thread Sankar P
it useful: http://psankar.blogspot.in/2010/11/detecting-memory-leaks-in-kernel.html -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Building libraries and binaries using Kbuild in a different folder

2013-11-11 Thread Sankar P
, using my Kbuild file, I build more than one .ko files. Is there a way to build only one target ? i.e., If my .ko generates a.ko ,b.ko and c.ko, Is there a way to build b.ko alone if I want ? Thanks. -- Sankar P http://psankar.blogspot.com

Re: Building libraries and binaries using Kbuild in a different folder

2013-11-11 Thread Sankar P
2013/11/12 Sankar P sankar.curios...@gmail.com: If my .ko generates a.ko ,b.ko and c.ko, Is there a way to build b.ko alone if I want ? I found the soluton to this. I just have to add the .ko name in the end and it alone will be built. However, I do not know the answer to the other question

Re: dump utility[sorry for last spam, it was tab+enter]

2013-05-28 Thread Sankar P
on google. http://people.redhat.com/anderson/crash_whitepaper/ is not enough ? Please excuse, if you are trying to implement something on your own to learn :) -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies

lookup function return value in inode_operations

2013-05-27 Thread Sankar P
are implementing our own filesystem ? Thanks. -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: what's best way for playing with kernel configurations and source code

2013-05-26 Thread Sankar P
level, you can use git local branches. See http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman

Fwd: Building kernel modules with debuginfo and printing line numbers in kernel oops message / coredump

2013-04-22 Thread Sankar P
On Mon, Apr 22, 2013 at 6:00 AM, arshad hussain arshad.su...@gmail.com wrote: On Mon, Apr 22, 2013 at 5:58 AM, arshad hussain arshad.su...@gmail.com wrote: On Fri, Apr 19, 2013 at 11:55 PM, Sankar P sankar.curios...@gmail.com wrote: Hi, I have written a kernel module which I build

Re: Building kernel modules with debuginfo and printing line numbers in kernel oops message / coredump

2013-04-21 Thread Sankar P
:) Regards, Neha On Fri, Apr 19, 2013 at 12:25 PM, Sankar P sankar.curios...@gmail.com wrote: Hi, I have written a kernel module which I build using: Makefile (edited a bit) == obj-m := simple.o simple-objs := s.o make -C /lib/modules/$(shell uname -r)/build M=$(PWD

Re: Building kernel modules with debuginfo and printing line numbers in kernel oops message / coredump

2013-04-21 Thread Sankar P
On Sat, Apr 20, 2013 at 11:04 AM, valdis.kletni...@vt.edu wrote: On Fri, 19 Apr 2013 23:55:49 +0530, Sankar P said: myfunctionname +0x2507 +5679 That function is too honking big and needs to be refactored. :) hehe Actually I just typed some random numbers to explain my problem, that I get

Building multiple .ko files from a single module

2013-04-09 Thread Sankar P
, consider the following association between source files and the .ko files. a.c a.h common.c common.h = 1.ko b.c b.h common.c common.h = 2.ko Thank you. -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Building multiple .ko files from a single module

2013-04-09 Thread Sankar P
On Tue, Apr 9, 2013 at 6:34 PM, Kristof Provost kris...@sigsegv.be wrote: On 2013-04-09 17:03:14 (+0530), Sankar P sankar.curios...@gmail.com wrote: I have some source files: a.c b.c c.c etc. Now I need to generate a few .ko files such as, 1.ko, 2.ko, 3.ko etc. SNIP For example, consider

Re: Method to calculate user space thread size

2013-04-03 Thread Sankar P
On Tue, Apr 2, 2013 at 6:25 PM, naveen yadav yad.nav...@gmail.com wrote: Dear All, I have very complex user space application contain more then 400 threads. I want to limit the stack size in user space, for this I want to know how much stack size each thread use in worst case. Well, this

Creating mkfs for my custom filesystem

2013-03-29 Thread Sankar P
the mkfs for my filesystem such that the generic mkfs utility will understand my filesystem. What APIs should I be using ? Any help is appreciated. Thanks. -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Creating mkfs for my custom filesystem

2013-03-29 Thread Sankar P
On Fri, Mar 29, 2013 at 3:56 PM, Pranay Srivastava pran...@gmail.com wrote: -- Forwarded message -- From: Pranay Srivastava pran...@gmail.com Date: Fri, 29 Mar 2013 15:53:21 +0530 Subject: Re: Creating mkfs for my custom filesystem To: Sankar P sankar.curios...@gmail.com

Re: Creating mkfs for my custom filesystem

2013-03-29 Thread Sankar P
On Fri, Mar 29, 2013 at 10:57 PM, Manish Katiyar mkati...@gmail.com wrote: On Fri, Mar 29, 2013 at 1:27 AM, Sankar P sankar.curios...@gmail.com wrote: Hi, I am trying to write a simple filesystem to learn the basics of it. I have decided on a simple layout for my filesystem where

Re: Doubt regarding Minor Numbers and alloc_chrdev_region

2011-02-08 Thread Sankar P
first line of code. Thanks for all your help. I shall update once I make progress. -- Sankar P http://psankar.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies