Messages in this thread | | | Date | Thu, 9 Feb 2006 15:54:03 -0600 | From | Ram Gupta <> | Subject | Re: 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/
| |