cd9660 file systems, shared over nfs and mounted to solaris systems have problems - all files and directories on solaris visible as files with zero lenght and wrong time modified. (ufs shared over nfs works correctly) How-To-Repeat: On FreeBSD: # mount -t cd9660 /dev/acd0 /cdrom # echo "/cdrom -ro" >> /etc/exports # killall -1 mountd Then check: # ls -la /cdrom drwxr-xr-x 4 root 10 2048 21 ÎÏÑ 12:22 . drwxr-xr-x 23 root wheel 512 27 ÆÅ× 09:59 .. -r--r--r-- 1 root 10 63 11 ÎÏÑ 19:01 .cdtoc drwxr-xr-x 5 root 10 2048 21 ÎÏÑ 12:26 .install -r--r--r-- 1 root 10 23 11 ÎÏÑ 19:01 .volume.inf -r--r--r-- 1 root 10 7063 11 ÎÏÑ 19:01 Copyright drwxr-xr-x 5 root 10 2048 21 ÎÏÑ 12:26 Solaris_9 -rwxr-xr-x 1 root 10 257 12 ÓÅÎ 13:15 installer On Solaris: # cd /net/freebsd.mashine.name/cdrom (or mount freebsd.mashine.name:/cdrom /mnt) # ls -la drwxr-xr-x 4 root staff 2048 îÏÑ 21 12:22 . dr-xr-xr-x 3 root root 3 æÅ× 27 18:03 .. -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 .cdtoc -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 .install -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 .volume.inf -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 Copyright -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 Solaris_9 -r-xr-xr-x 1 root root 0 ñÎ× 1 1970 installer
State Changed From-To: open->analyzed Caused by cd9660_vnops.c rev. 1.77. VOP_READDIR returns bogus d_fileno, VFS_VGET on this value returns bogus vnode with zeroed attributes.
Following up to note that kern/71141 was closed as a duplicate of this, and contains additional information.
Following up to note that kern/63649 was closed as a duplicate of this PR.
Following up to note that kern/70248 was closed as a duplicate of this PR.
State Changed From-To: analyzed->closed This has been fixed in -current (finally!).