Re: file system question

From: Bernd Eckenfels
Date: Wed Feb 08 2006 - 20:13:52 EST


kapil a <kapilann@xxxxxxxxx> wrote:
> When i did some debugging i found that filldir which is suppose to
> fill the dirent with the directory entries does its job. My filesystem
> currently has only one inode with one block of data where i have a
> ".", ".." and "test" written into it.
>
> The problem is it does not go further to do some of the other calls as
> in a mountpoint in ext2 file system.

in that case ls is missing something, maybe a count, a size, filetype,
permission... why dont you debug ls to see where it is exiting? I mean if
you write kernel mode code one could expect that you can step through a user
mode tool?


Gruss
Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/