lkml.org 
[lkml]   [2006]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file system question
On 2/9/06, kapil a <kapilann@gmail.com> wrote:
> I am only sending the relevant stuff.
>
> My strace output :
>
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 3 entries */, 4096) = 80
> getdents64(3, /* 0 entries */, 4096) = 0
> close(3) = 0
> exit_group(0)
>
> strace output on a partition under ext2
>
> fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3, /* 4 entries */, 4096) = 104
> getdents64(3, /* 0 entries */, 4096) = 0


Why dont you write a simple program which makes call to
open,read,write & others you want to test. That would not make these
unnecessary calls.

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

\
 
 \ /
  Last update: 2006-02-09 22:57    [from the cache]
©2003-2011 Jasper Spaans