From owner-freebsd-fs@freebsd.org Thu Aug 3 11:38:38 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDBD0DB25FB; Thu, 3 Aug 2017 11:38:38 +0000 (UTC) (envelope-from Nikolaus@rath.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A198C7388A; Thu, 3 Aug 2017 11:38:37 +0000 (UTC) (envelope-from Nikolaus@rath.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 406A820692; Thu, 3 Aug 2017 07:38:36 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 03 Aug 2017 07:38:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=9+vCIbP7JKHp55JDgz z6D/bqUpUDalDk2IVK7wDHjrw=; b=RJGihGkNVrhk9lqu6hehGnr8+9qG3HpzUb 8242ZCwCcA5dVDqz7B7JaQvMjMyh42cMYBp3A5gxNV0zxd54wdlBsxc+vhPYDctn xGKO0Zi1kMEjBoJcJcMp8Ja4REu73r3/oEkIY+XI3tApLut7MhE+PkPp3+/FKxU6 l0Yf7AfLq0WsNy/RcSen4b+mxay0miKeKjrUrmVgi9JLfKdMrXm4OO+1yJRNKfHj i5hPCahBhsc7FWr7qdGK0/CaPjppwHJlJmN7HgQt59Wpr/fyO7s2VT+AMsls7QTS 7DlOIWrU3F8TVN6AOXN6Uw+oxAe5LcCYfghxmdPvbSAraYYLcSuw== X-ME-Sender: X-Sasl-enc: RHaOgjIHnozV/PSBRvjjL9garvGXE8OLOYO8avUVuxLx 1501760315 Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id EDF167E683; Thu, 3 Aug 2017 07:38:35 -0400 (EDT) Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 15EE33748; Thu, 3 Aug 2017 11:38:33 +0000 (UTC) Received: by vostro.rath.org (Postfix, from userid 1000) id 727071029B3; Thu, 3 Aug 2017 13:38:28 +0200 (CEST) From: Nikolaus Rath To: freebsd-ports@freebsd.org, freebsd-fs@freebsd.org Subject: State of FUSE on FreeBSD Mail-Copies-To: never Mail-Followup-To: freebsd-ports@freebsd.org, freebsd-fs@freebsd.org Date: Thu, 03 Aug 2017 13:38:28 +0200 Message-ID: <87y3r0ankb.fsf@vostro.rath.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 11:38:38 -0000 Hello, I am the upstream maintainer of libfuse. I'd like to refresh / improve the FreeBSD support in libfuse. My goal is for libfuse not to require any FreeBSD specific patches. After taking a look at https://github.com/freebsd/freebsd/tree/master/sbin/mount_fusefs, https://svn.freebsd.org/ports/head/sysutils/fusefs-libs/, and https://github.com/libfuse/libfuse/issues/173, it seems to me that: - A lot of upstream code that was actually intended to support FreeBSD is actually patched out when libfuse is installed via ports. - The mount.fusefs and fusermount binaries are not installed from libfuse at all, and are instead provided by a "sysutils/fusefs-libs" package(?) - Some additional patches are necessary to get libfuse to work. Is that correct so far, or am I looking at the wrong place? If so, my tentative plan would be to: =20 - Not build fusermount and mount.fusefs on FreeBSD at all. This would allow getting rid of mount_bsd.c (and the corresponding patch) completely. =20=20 - Integrate the helper.c patch upstream using #ifdefs - As far as I can tell, the mount_util.[ch] patch is a no-op that should be dropped anyway. Personally, I don't use FreeBSD and I don't have an easy way to test on FreeBSD either. So I would appreciate any input. Best, -Nikolaus --=20 GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB