Re: [PATCH v3 1/1] ioctl-fat.2: new manpage for the ioctl fat API
From: OGAWA Hirofumi
Date: Tue Feb 03 2015 - 05:05:44 EST
"Michael Kerrisk (man-pages)" <mtk.manpages@xxxxxxxxx> writes:
> Thanks for the clarification. I have one other question. Currently the
> man page does not document two fields in the __fat_dirent structure:
> d_ino and d_offset. d_ino is presumably the inode number. But, what is
> d_offset?
d_ino and d_off (I guess, d_off you meant) is used only for long
filename part in dirents. And,
d_off == seek offset
d_ino == inode number
same with getdents(), but again it is valid only on long name dirent.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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/