Frank Batschulat <[EMAIL PROTECTED]> wrote: > > Only one byte per directory entry? This confuses > > programs that assume that the st_size reported for a > > directory is a multiple of sizeof(struct dirent) bytes. > > Sorry, but a program making this assumption is just flawed and should be > fixed. >
This is exactly what I did write when I mentioned that st_size for a directory even may be 0 in any case. In addition, the field st_nlink may be always 1 in case of non-hardlinked directories and "." & ".." do not exist as physical entries not do they need to be hard links. POSIX is intentionally not very specific in relation to filesystems in order to allow different fs implementations. e.g. symlinks do not need to have inodes and permissions/user/group. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss