From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue May  5 21:30:21 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id VAA04347
	Tue, 5 May 1998 21:30:21 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id VAA04339
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 5 May 1998 21:30:16 +0900 (JST)
Received: from localhost (localhost.pumpkin.kansai.oki.co.jp [127.0.0.1])
	by localhost.pumpkin.kansai.oki.co.jp (8.8.7/8.8.7) with ESMTP id VAA00447
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 5 May 1998 21:30:18 +0900 (JST)
	(envelope-from root@localhost.pumpkin.kansai.oki.co.jp)
Message-Id: <199805051230.VAA00447@localhost.pumpkin.kansai.oki.co.jp>
To: FreeBSD-tech-jp@jp.freebsd.org
From: Hideki Yamamoto <hyama@acm.org>
In-Reply-To: Your message of "Mon, 04 May 1998 04:03:43 +0900"
References: <199805031903.EAA24648@sun117.sdc.co.jp>
X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Tue, 05 May 1998 21:30:17 +0900
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-tech-jp 1418
Subject: [FreeBSD-tech-jp 1418] Re: Please test msdosfs module for FreeBSD-stable
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org


$B;3K\(B($B=((B)$B$G$9!#(B

From: Toshihiko ARAI <toshi@sdc.co.jp>
Date: Mon, 04 May 1998 04:03:43 +0900

> >    3. # find /dos -print $B$r<B9T$9$k$H(B 'cache_enter: name too long' $B$,(B
> >       $BI=<($5$l$^$9(B(/dos $B$O(B VFAT $B$N%^%&%s%H%]%$%s%H(B)$B!#$3$l$O!"(B/ $B$G6h@Z(B
> >       $B$i$l$?%G%#%l%/%H%jL>$d%U%!%$%kL>$,(B31$B%P%$%H$r1[$($k$HI=<($5$l$^$9!#(B
> 
> FreeBSD-2.2.5 msdosfs_lookup.c $B$N(B 145 $B9TL\IU6a!"(B
> 
> 	/*
> 	 * See if the component of the pathname we are looking for is in
> 	 * the directory cache.  If so then do a few things and return.
> 	 */
> 	error = cache_lookup(vdp, vpp, cnp);
> 	if (error) {
> 		int vpid;
>            ....
> 
> $B$,(B current $B$G:o=|$5$l$?$N$,860x$@$H;W$$$^$9!#(B
> $B$3$N$X$s$N7P0^$,$o$+$i$J$$$N$G$9$,$4B8$8$NJ}$$$^$9$+!)(B

Jordan K Hubbard$B$5$s$K>R2p$5$l$F(B $BD>@\C4Ev$5$l$F$$$k(BDmitrij
Tejblum <dima@tejblum.dnttm.rssi.ru>$B$5$s$KJ9$$$?$H$3$m0J2<$N(B
$BEz$,JV$C$F$-$^$7$?!#AaB.!":G6a;O$^$C$?(Banonymous CVS $B%5!<%S%9(B
$B$r;H$C$F%=!<%9$r<h$j4s$;$FD4$Y$?$H$3$m!"$^$5$K?70f$5$s$N$4;X(B
$BE&$N2U=j$rI|85$9$l$P$h$$$3$H$,$o$+$j$^$7$?!#$I$&$b$"$j$,$H$&(B
$B$4$6$$$^$7$?!#(B

> >    3. Doing a simple ``find /dos -print'' test causes any messages of
> >       the form:
> > 	 	cache_enter: name too long

> Well, already long time ago Poul-Henning reworked name cache, and 
> removed NCHNAMLEN and the message "cache_enter: name too long". Before 
> that, cache_lookup removed MAKEENTRY flags from long componentnames.
> I think, the problem you see is because msdosfs_lookup implement 
> VOP_CACHEDLOOKUP in -current, but VOP_LOOKUP in 2.2. You should insert 
> back the code that was removed in rev.1.12 of msdosfs_lookup.c, when 
> VOP_CACHEDLOOKUP has been introduced. 

$B$=$NB>!"%U%)!<%^%C%H$7$?$F$N(BFD$B$K(BVFS$B$N%U%!%$%k$,$G$-$J$$7o$b2r(B
$B7h$7$^$7$?!#$b$H$b$H$N;EMM$,!"!V(Bmount_msdos$B$G(B -s,-l $B$NN>J}$,(B
$B$J$$$H$-$O!"$=$N%U%!%$%k%7%9%F%`$K(BVFAT$B$N%U%!%$%k$,$"$l$P(BVFAT
$B$G%U%!%$%k$r:n@.$9$k$,!"$J$$$H$-$O(BFAT$B$G%U%!%$%k$r:n@.$9$k!W$H(B
$B$$$&$h$&$K$J$C$F$$$?$N$,860x$G$7$?!#$3$l$N2r7h:v$H$7$F!"(B-
current $B$N(Bmount_msdos $B$b(B-stable $B$K0\?"$7$^$7$?!#$A$J$_$K!"(B
moount_msdos $B$N(B-s $B$O!"(Bshort file name $B$G!"(B-l $B$O(B long file
name $B$G%U%!%$%k$r:n$k$H$$$&%*%W%7%g%s$G$9!#>\$7$/$O!":G?7HG(B
(-current $B$^$?$O0J2<$N(BURL)$B$N(Bmount_msdos man $B%Z!<%8$r8+$F2<$5(B
$B$$!#(B

$B7k2L$H$7$F!"(Bmount_msdos$B!"(Bmsdosfs, sys/sys/mount.h $B$r8G$a$F!"(B
http://members.aol.com/hyama99/ $B$KCV$-$^$7$?!#(B

$B2?$+LdBj$,$"$l$P$*65$(2<$5$$!#$h$m$7$/$*4j$$$7$^$9!#(B

$BF|K\8l%U%!%$%kL>$NBP1~$O!"(Bja-mtools-3.6 $B$N%Q%C%A$r;29M$K$9$l(B
$B$P$G$-$=$&$J$-$,$7$^$9!#(Bja-mtools-3.6$B$O!"(BDOS $B$N(Bshift-jis $B%U%!(B
$B%$%kL>$b(BVFAT$B$N(BUnicode $B$N%U%!%$%kL>$b$-$A$s$H(BEUC$B$KJQ49$7$F$$$^(B
$B$9!#(B

$B$b$7$9$G$K$I$J$?$+2?$+>pJs(B(-current $B$NF|K\8l%U%!%$%kL>$H$+(B
L18N$B$H$+(B)$B$r$*;}$A$G$7$?$i$*65$($$$?$@$1$^$;$s$+!#$3$A$i$b$h$m(B
$B$7$/$*4j$$$7$^$9!#(B_o_

$B$J$*!";d$NJ}$G$b!"(Bmount_msdos $B$d(B msdosfs $B$N(BUnicode$BBP1~$rC4Ev(B
$B$5$l$F$$$k(B Andrey Cernov<ache@freebsd.org>$B$5$s$K$b!"(B
ja-mtools-3.6$B$N>pJs$r1h$($FAjCL$N%a!<%k$rAw$C$F$$$^$9!#(B

# $BF|K\8l2=BP1~0J30$NLdBj$O2r7h$G$-$FM-0U5A$J(BGW $B$G$7$?!#(B
# $B8DJL$K%a!<%k$r$$$?$@$$$?3'$5$s!"$"$j$,$H$&$4$6$$$^$7$?!#(B
--------------------------------------------------------------
$B;3K\=(<y(B(hyama@acm.org)
