Subject: kern/25070: smbfs caching problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 04/06/2004 21:34:36
>Number:         25070
>Category:       kern
>Synopsis:       smbfs caching problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 06 12:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0C
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.0C NetBSD 2.0C (build.kaeru) #1175: Tue Apr 6 11:02:52 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	while smbfs_nget identify node with (dvp+name).
	it's a problem because it won't take care of node removal.

>How-To-Repeat:

	(current directory is on smbfs)
	% mkdir t
	% cd t
	% echo aaa>a
	% cat a
	aaa
	% rm a
	% cat a
	cat: a: No such file or directory
	% mkdir a
	% cd a
	cd: not a directory: a
	% stat -x a
	  File: "a"
	  Size: 0            FileType: Regular File
	  Mode: (0755/-rwxr-xr-x)         Uid: ( 1000/ takashi)  Gid: (  100/   users)
	Device: 139,1   Inode: 199920589    Links: 1
	Access: Tue Apr  6 21:18:21 2004
	Modify: Tue Apr  6 21:18:21 2004
	Change: Tue Apr  6 21:18:21 2004
	% rmdir a
	rmdir: a: Not a directory
	% rm a
	rm: a: Permission denied
	% sudo rm a
	rm: a: Permission denied
	%
>Fix:
	pull NGONE from freebsd?

>Release-Note:
>Audit-Trail:
>Unformatted: