On Feb 11, 2008 1:07 PM, sahlot arvind <asahlot@xxxxxxxxx> wrote: > The reason I asked is because I dont have much knowledge of UML. > Can you give me some pointers/links to learn about this? Can we do source > level debugging on UML? > Official site for UML is http://user-mode-linux.sourceforge.net/. Yes you can do source level debugging. Infact i find it very useful when i have to trace a particular function, you can easily put a breakpoint and get the stack trace. Its mailing list is <user-mode-linux-user@xxxxxxxxxxxxxxxxxxxxx> and I have found Jeff is very prompt in replying even my silly queries on this :-) . For doing normal (except networking setup etc.) kernel development, I find it pretty useful. Thanks > > > Thanks > > > On 2/11/08, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote: > > On Feb 11, 2008 1:00 PM, sahlot arvind <asahlot@xxxxxxxxx> wrote: > > > Your welcome! > > > Just a question - what is your environment? > > > Are you using some system emulator? what looks to me is that you are > running > > > User Mode Linux? > > > > > Yes, I use user mode linux for my development work. > > > > > > > > > > > > > > On 2/11/08, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote: > > > > On Feb 11, 2008 12:45 PM, sahlot arvind <asahlot@xxxxxxxxx> wrote: > > > > > Hi Manish, > > > > > > > > > > > > > > > >http://mail.nl.linux.org/kernelnewbies/2008-01/msg00424.html > > > > > vfs_readdir is called by "sys_getdents" system call. Both are in > > > > > fs/readdir.c. > > > > > So the flow of control is something like this - > > > > > $ ls ---> readdir () [implemented by C library] > > > > > C lib 'readdir' does sth like this - > > > > > till you read all dir entries - > > > > > issue a syscall to invoke 'sys_getdents' to read further entries of > > > dir. > > > > > > > > > > Thus C lib implementation of readdir repeatedly issues a system call > to > > > read > > > > > a particular dir i.e. the loop you are looking for is in C lib > > > > > implementation of readdir. > > > > > This may also be helpful - > > > > > http://www.fsl.cs.sunysb.edu/docs/wrapfs/node3.html > > > > > Section - 3.3 File Names and Directory Reading > > > > > > > > > > > > > Thanks a lot Sahlot, > > > > > > > > this is exactly i was looking for. > > > > > > > > > > > > > Hope it helps. > > > > > > > > > > Thanks - > > > > > - Arvind S. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 2/11/08, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote: > > > > > > On Feb 11, 2008 10:25 AM, sahlot arvind <asahlot@xxxxxxxxx> wrote: > > > > > > > You can ask your questions here itself. I guess. > > > > > > > > > > > > > > > > > > > Hi sahlot, > > > > > > > > > > > > Yeah, I tried on this list, but didn't get answer sometimes, so I > > > > > > thought if there is any file systems specific list since my > questions > > > > > > are mostly related to it. Below are the urls of my previous > unanswered > > > > > > questions. > > > > > > > > > > > > http://mail.nl.linux.org/kernelnewbies/2008-01/msg00253.html > > > > > > http://mail.nl.linux.org/kernelnewbies/2008-01/msg00352.html > > > > > > http://mail.nl.linux.org/kernelnewbies/2008-01/msg00424.html > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > On 2/11/08, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > Anyone aware of any file system specific mailing lists for > > > newbies. > > > > > > > > All I know of linux-fsdevel (this is not suitable for newbies > :-( > > > > > > > > questions ) and some mailling lists for specific filesystems. > > > > > > > > > > > > > > > > thanks a lot in advance > > > > > > > > > > > > > > > > -- > > > > > > > > Thanks & Regards, > > > > > > > > ******************************************** > > > > > > > > Manish Katiyar ( http://mkatiyar.googlepages.com ) > > > > > > > > 3rd Floor, Fair Winds Block > > > > > > > > EGL Software Park > > > > > > > > Off Intermediate Ring Road > > > > > > > > Bangalore 560071, India > > > > > > > > *********************************************** > > > > > > > > > > > > > > > > -- > > > > > > > > To unsubscribe from this list: send an email with > > > > > > > > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > > > > > > > > Please read the FAQ at http://kernelnewbies.org/FAQ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Thanks & Regards, > > > > > > ******************************************** > > > > > > Manish Katiyar ( http://mkatiyar.googlepages.com ) > > > > > > 3rd Floor, Fair Winds Block > > > > > > EGL Software Park > > > > > > Off Intermediate Ring Road > > > > > > Bangalore 560071, India > > > > > > *********************************************** > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Thanks & Regards, > > > > ******************************************** > > > > Manish Katiyar ( http://mkatiyar.googlepages.com ) > > > > 3rd Floor, Fair Winds Block > > > > EGL Software Park > > > > Off Intermediate Ring Road > > > > Bangalore 560071, India > > > > *********************************************** > > > > > > > > > > > > > > > > > > -- > > Thanks & Regards, > > ******************************************** > > Manish Katiyar ( http://mkatiyar.googlepages.com ) > > 3rd Floor, Fair Winds Block > > EGL Software Park > > Off Intermediate Ring Road > > Bangalore 560071, India > > *********************************************** > > > > -- Thanks & Regards, ******************************************** Manish Katiyar ( http://mkatiyar.googlepages.com ) 3rd Floor, Fair Winds Block EGL Software Park Off Intermediate Ring Road Bangalore 560071, India *********************************************** -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ