one link missing for a directory

SATHISH.J (sathish.j@tatainfotech.com)
Thu, 31 May 2001 10:48:11 +0530 (IST)


Hi,
Sorry to disturb you.

I tried to create a file system similar to ramfs on 2.2.14 kernel. I was
able to insert it as a module and mount it to ram disk at /dev/ram0 at a
mount point called /mnt. It gets mounted . But after mounting it the link
count of directory /mnt becomes 1 and size becomes 0 which was previously
4096.
What might be the problem. In my file system I have implemented only
directory lookup and readdir functions. Which function takes care of the
link count and the size of the directory. It would be very helpful for me
if you could answer this so that I can proceed with my implementation.

Thanks in advance,

Regards,
sathish

-
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/