Jeff Bonwick <[EMAIL PROTECTED]> wrote:

> > What was the reason to make ZFS use directory sizes as the number of
> > entries rather than the way other Unix filesystems use it?
>
> In UFS, the st_size is the size of the directory inode as though it
> were a file.  The only reason it's like that is that UFS is sloppy

There are many more design flaws with directories in traditional UNIX 
filesystems, e.g. the explicit existence of "." and ".." and the fact that
this are hardlinked directories.

> and lets you cat directories -- a fine way to screw up your terminal
> settings, but otherwise not terribly useful.  For reads (rather than

If you believe this is the main problem, you should try to find a solution 
for the problems you get with "cat /kernel/fs/zfs" ;-)

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

Reply via email to