From owner-freebsd-stable@FreeBSD.ORG Fri Jun 13 06:49:28 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6766643 for ; Fri, 13 Jun 2014 06:49:27 +0000 (UTC) Received: from st11p09mm-asmtp002.mac.com (st11p09mm-asmtp002.mac.com [17.164.24.97]) by mx1.freebsd.org (Postfix) with ESMTP id B02B02798 for ; Fri, 13 Jun 2014 06:49:27 +0000 (UTC) MIME-version: 1.0 Received: from [10.71.14.16] (dsl-hkibrasgw1-58c380-33.dhcp.inet.fi [88.195.128.33]) by st11p09mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N730099AHM5KR60@st11p09mm-asmtp002.mac.com> for freebsd-stable@freebsd.org; Fri, 13 Jun 2014 06:49:20 +0000 (GMT) From: Kimmo Paasiala Content-type: multipart/signed; boundary="Apple-Mail=_47D26E34-13EF-485A-A1E8-0CFA21E95589"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: Odd problem with find(1) on FUSE sshfs mounted filesystems Message-id: <996494CC-21F5-4476-8E5E-22F5E5E673DD@icloud.com> Date: Fri, 13 Jun 2014 09:49:13 +0300 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.1878.2) X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaHBEKTEMXGx0EGx0YBBIZBBscEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxsbGmJCH2hfG1tSGXhzB x9uGhweE2ERClhcFxkEGgQbGwdNTh8YGBgZSwUbHQQbHRgEEhkEGxwQGx4aHxsRCl5ZF2Eab2V mEQpDWhcSEgQbEx8EGxgSBBkZEQpCRRdmfX8TTW9cYGUaEhEKQk4Xa0UaUlAeQ1xZXGgRCkJMF 25NHXlZY2RofhhGEQpCbBdhQHxTbEsfGGR7fhEKQkAXa1BLbkFPAWZ8ARoRCkJYF2lQGV9ZGWZ bc2lbEQpwaBdjZFwYBXkYXR5gUxEKcGgXbBl8XV8fYk8BQ2YRCnBoF2RwYXxhSRtfG0xEEQpwa BdiEh58TmIfUEscWBEKcGgXZU8cQ2JoXR1EQ3ARCnBrF2hGTWFYb0dNRElEEQpwSxdiaXITWF1 cZ21TcxEKcGsXaFpSBUteG0ZHbhkRCnBsF21nbgUfYU5hHFsbEQ== X-CLX-Spam: false X-CLX-Score: 1011 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.14,0.0.0000 definitions=2014-06-13_03:2014-06-12,2014-06-13,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=57 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1406130087 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 06:49:28 -0000 --Apple-Mail=_47D26E34-13EF-485A-A1E8-0CFA21E95589 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I=92m on FreeBSD stable/10 r267390 on one of my systems and on FreeBSD = 10.0-RELEASE-p5 i386 on another one. Both exhibit a strange behaviour = when find(1) is used on a FUSE sshfs mounted filesystems. This an = excerpt of a log from such run (I mounted FreeBSD sources on /mnt using = sshfs): ... mnt/contrib/ofed/libmlx4/autogen.sh^M /mnt/contrib/ofed/libmlx4/mlx4.driver^M /mnt/contrib/ofed/libmlx4/config^M /mnt/contrib/ofed/libmlx4/Makefile.am^M /mnt/contrib/openresolv^M find: /mnt/contrib/openresolv/pdnsd.in: No such file or directory^M find: /mnt/contrib/openresolv/resolvconf.8.in: No such file or = directory^M find: /mnt/contrib/openresolv/resolvconf.conf.5.in: No such file or = directory^M find: /mnt/contrib/openresolv/configure: No such file or directory^M find: /mnt/contrib/openresolv/unbound.in: No such file or directory^M find: /mnt/contrib/openresolv/named.in: No such file or directory^M find: /mnt/contrib/openresolv/resolvconf.conf: No such file or = directory^M find: /mnt/contrib/openresolv/dnsmasq.in: No such file or directory^M find: /mnt/contrib/openresolv/Makefile: No such file or directory^M find: /mnt/contrib/openresolv/libc.in: No such file or directory^M find: /mnt/contrib/openresolv/README: No such file or directory^M find: /mnt/contrib/openresolv/resolvconf.in: No such file or directory^M find: /mnt/contrib/openresolv: No such file or directory^M /mnt/contrib/ntp^M =85 I can rsync(1) the files from the mounted filesystem just fine without = any errors/corruption so clearly all the files and directories are there = and accessible.=20 Is this a problem in FUSE/sshfs or find(1) and how to start debugging = this? I have tested with both FreeBSD and OS X as SSH servers and the same = problem is present using both systems. In all of the tests I=92ve done there are no mountpoints crossed, each = mounted directory tree is on a single filesystem on the server. -Kimmo --Apple-Mail=_47D26E34-13EF-485A-A1E8-0CFA21E95589 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJTmp7uAAoJEFvLZC0FWRVplcQH/2mYOfowah5nxDsc/VfxrgUG wVYyW9tcRGAsP9gIhEXq5iNVDsyuyRc7ZNnCpWakbcGuwS6dQ9naKc2K+2MBpu4t /25nySJs+LWKgi4knmNe4AQv5Rvj8SnxDrHf98/LEQbX0PawLbWgDflE5VgfW62N wDBmIJluSw4rcaij1Oj2fEB0eD2UKmSd40kzNXpTM1oKh595/4C7rMzDLkil5k4i 5r7W/940fqGup036ZOVY4zXuZ7K/XU+Kt8RLqKaQhaDYGtT8kvCM8U1syT1AIBfM 1BE9pyG3FrXNOMpmAC7gkKr56mnZRleUk+Ncyg/2A936SHWqcnL64QxsyflHcVY= =h1/E -----END PGP SIGNATURE----- --Apple-Mail=_47D26E34-13EF-485A-A1E8-0CFA21E95589--