Bug 63446 - [nfs] problems with sharing over nfs cd9660 file systems
Summary: [nfs] problems with sharing over nfs cd9660 file systems
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.2-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 15:20 UTC by Dmitry Afanasiev
Modified: 2004-09-05 12:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Afanasiev 2004-02-27 15:20:07 UTC
	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
Comment 1 Tim Robbins freebsd_committer freebsd_triage 2004-02-28 01:17:05 UTC
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.
Comment 2 Tim Robbins freebsd_committer freebsd_triage 2004-08-30 15:07:49 UTC
Following up to note that kern/71141 was closed as a duplicate of this,
and contains additional information.
Comment 3 Tim Robbins freebsd_committer freebsd_triage 2004-09-05 08:26:30 UTC
Following up to note that kern/63649 was closed as a duplicate of this PR.
Comment 4 Tim Robbins freebsd_committer freebsd_triage 2004-09-05 08:37:04 UTC
Following up to note that kern/70248 was closed as a duplicate of this PR.
Comment 5 Tim Robbins freebsd_committer freebsd_triage 2004-09-05 12:19:52 UTC
State Changed
From-To: analyzed->closed

This has been fixed in -current (finally!).