>Bascially ZFS pass all my tests (about 3000). I see one problem with UFS >and two differences:
That's good; do you have those tests published anywhere. >1. link(2) manual page states that privileged processes can make > multiple links to a directory. This looks like a general comment, but > it's only true for UFS. Solaris UFS doesn't deal gracefully with that. (Fsck will complain and fix the fs and two fsck passes are generally needed.) An argument can be made to ban this for UFS too. (Some of the other fses do support this, like tmpfs) >2. link(2) in UFS allows to remove directories, but doesn't allow this > in ZFS. Link with the target being a directory and the source a any file or only directories? And only as superuer? >3. Unsuccessful link(2) can update file's ctime: > > # fstest mkdir foo 0755 > # fstest create foo/bar 0644 > # fstest chown foo/bar 65534 -1 > # ctime1=`fstest stat foo/bar ctime` > # sleep 1 > # fstest -u 65534 link foo/bar foo/baz <--- this unsuccessful > operation = >updates ctime > EACCES > # ctime2=`fstest stat ${n0} ctime` > # echo $ctime1 $ctime2 > 1167440797 1167440798 Bug, I'd say. Casper _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss