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 *********************************************** -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ