Hi.

Here are some things my file system test suite discovered on Solaris ZFS
and UFS.

Bascially ZFS pass all my tests (about 3000). I see one problem with UFS
and two differences:

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.

2. link(2) in UFS allows to remove directories, but doesn't allow this
   in ZFS.

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

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
[EMAIL PROTECTED]                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgpWPytzVTegq.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to