he significance of these two variables (first minor number
and count of devices) that we pass to the alloc_chrdev_region api, if
they can be over-ridden on mknod time ? Or have I misunderstood
something ?
Any help will be appreciated. Thanks.
--
Sankar P
http://psankar.blogspot.com
_
d needs us to read a
lot of pages before we touch 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
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
On Fri, Mar 29, 2013 at 3:28 PM, Tobias Boege wrote:
> On Fri, 29 Mar 2013, Sankar P 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 the first
>> b
On Fri, Mar 29, 2013 at 3:56 PM, Pranay Srivastava wrote:
> -- Forwarded message --
> From: Pranay Srivastava
> Date: Fri, 29 Mar 2013 15:53:21 +0530
> Subject: Re: Creating mkfs for my custom filesystem
> To: Sankar P
>
>
>
> On 3/29/13, Sankar
Thank you everyone for the plenty of good pointers. I should be able
to proceed from here :-)
On Fri, Mar 29, 2013 at 7:31 PM, Tobias Boege wrote:
> On Fri, 29 Mar 2013, Sankar P wrote:
>> On Fri, Mar 29, 2013 at 3:28 PM, Tobias Boege wrote:
>> > On Fri, 29 Mar 2013, Sankar
On Fri, Mar 29, 2013 at 10:57 PM, Manish Katiyar wrote:
>
>
>
> On Fri, Mar 29, 2013 at 1:27 AM, Sankar P
> wrote:
>>
>> Hi,
>>
>> I am trying to write a simple filesystem to learn the basics of it.
>>
>> I have decided on a simple layout for
On Tue, Apr 2, 2013 at 6:25 PM, naveen yadav 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 does not answer you
, 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
Kerneln
On Tue, Apr 9, 2013 at 6:34 PM, Kristof Provost wrote:
> On 2013-04-09 17:03:14 (+0530), Sankar P 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.
>>
>> For example, consider the following
file size (.ko) is not changed.
Can someone help me with building kernel modules with debug info and
get the filename and line numbers printed in the oops messages /
coredump ?
Thanks.
--
Sankar P
http://psankar.blogspot.com
___
Kernelnewb
lenames and line numbers :)
> Regards,
> Neha
>
> On Fri, Apr 19, 2013 at 12:25 PM, Sankar P
> wrote:
>>
>> Hi,
>>
>> I have written a kernel module which I build using:
>>
>> Makefile (edited a bit)
>> ==
>> obj-m := simple.o
&g
On Sat, Apr 20, 2013 at 11:04 AM, 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
On Mon, Apr 22, 2013 at 6:00 AM, arshad hussain wrote:
>
>
>
> On Mon, Apr 22, 2013 at 5:58 AM, arshad hussain
> wrote:
>>
>>
>>
>>
>> On Fri, Apr 19, 2013 at 11:55 PM, Sankar P
>> wrote:
>>>
>>> Hi,
>>>
>>
would read the first block and all its contents?
>
It may be read even further (readahead)
If you are in kernel mode, and if you want to implement your own
filesystem and want to read a single block, you can use the sb_bread
function.
--
Sankar P
htt
le mkfs-yourfs.c which will fopen the given input file, write
(by type casting to a char *) the struct pointer which contains your
filesystem structure and then closes the file. It is as simple as that
:)
All the best.
--
Sankar P
http://psankar.blogspot.com
__
source 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.or
if we 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
ything yet 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
Kernelnewb
, 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
2013/11/12 Sankar P :
> 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 yet.
Thanks.
--
ps and you may find 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
s.
>
> Regards
> Rahul
>
> _______
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://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
help me out with this.
>>
>> Regards
>> Rahul
>>
>> _______
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> _
to download this branch.
>
> Regards
> Rahul
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Sankar P
http://psankar.blogspot.com
_
6 bits. So 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.bl
ter
stage. I will be happy to get some patches though :)
>
>
> On Thu, Aug 8, 2013 at 8:36 PM, Sankar P 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
&
eed something
>
> write_buffer_to_disk(bh)
>
> Which will return only if the data has been written on disk.
>
> Please help
> --
>
> Regards,
> Rishi Agrawal
>
> ___
> Kernelnewbies mailing list
> Kernelnewbie
2014-04-30 9:14 GMT+05:30 Adam Fowler :
> 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 extend and
implement
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
30 matches
Mail list logo