From owner-freebsd-fs@freebsd.org Thu Aug 24 20:45:17 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 24D57DE7C52 for ; Thu, 24 Aug 2017 20:45:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB9E365661; Thu, 24 Aug 2017 20:45:16 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi0-f53.google.com with SMTP id j144so5705921oib.1; Thu, 24 Aug 2017 13:45:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:content-transfer-encoding; bh=HzYsMyfG/seO0kdbGVzkaODNPCu5eEvLjOjlFFCSw2o=; b=ABWw0d2bJjLygWO4/evVUA1qmUh9+dTCbcQ/0VWSECp1BEv0Idge7ND0t6LAdELUrE sMKQbApU1JUIHAkGHQioL1wzmYSuvRgZFY9zuKlYdzVXmOCh0pF4h8N/3SwZ1UcjDFyO VD6XcSDxN3jTyODa+EijQFVtm3LU5mbnQpmKlsJ1zuUGRNPSm7If59CAS7I6wbFSPYGe 4y8RVBWPhvJ+HhmOzsSAhccHY/ZT9S8FdJnzyLQE+qdVAi7RqGnkbWxXhB9TmHdQAH/7 bHqXioNXZhNjpzrmriYozBPg3i/NtHDOvUc9gZNvOKVXpILEjEPQs/b2sxKXf4vZc9ys HJjg== X-Gm-Message-State: AHYfb5hMphnCc20HRhhmMyZDMY5HNTpVLQd5t8zA3SHKU9M3LTpJprvY e7xXNw/3uTvvxqkaemM= X-Received: by 10.202.224.69 with SMTP id x66mr10149271oig.291.1503607093503; Thu, 24 Aug 2017 13:38:13 -0700 (PDT) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com. [209.85.223.172]) by smtp.gmail.com with ESMTPSA id 64sm4476022oif.42.2017.08.24.13.38.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Aug 2017 13:38:13 -0700 (PDT) Received: by mail-io0-f172.google.com with SMTP id k22so2088534iod.2; Thu, 24 Aug 2017 13:38:13 -0700 (PDT) X-Received: by 10.107.175.219 with SMTP id p88mr6101903ioo.219.1503607092780; Thu, 24 Aug 2017 13:38:12 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.2.81.131 with HTTP; Thu, 24 Aug 2017 13:38:12 -0700 (PDT) In-Reply-To: <87h8ww4vge.fsf@vostro.rath.org> References: <878tiqdjtc.fsf@vostro.rath.org> <20170814060456.GE48929@e-new.0x20.net> <87h8ww4vge.fsf@vostro.rath.org> From: Conrad Meyer Date: Thu, 24 Aug 2017 13:38:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Status of FUSE in FreeBSD kernel To: freebsd-fs@freebsd.org, "George V. Neville-Neil" 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, 24 Aug 2017 20:45:17 -0000 FreeBSD only supports version 7.8 of the FUSE protocol. IOCTLs were added in 7.11. Yes, I don't believe FreeBSD supports mountpoints other than directories. This is enforced in vfs_domount_first() with the v_type !=3D VDIR check. Best, Conrad On Thu, Aug 24, 2017 at 12:28 PM, Nikolaus Rath wrote: > Hi George, > > On Aug 14 2017, Lars Engels wrote: >> On Fri, Aug 11, 2017 at 08:46:07PM +0200, Nikolaus Rath wrote: >>> Is there some resource that gives an overview of the features supported >>> by the FUSE kernel module in FreeBSD? >> >> George Neville-Neil (CC'ed) wrote FreeBSD's fuse kernel module. Maybe he >> can help you. > > Could you tell me if FreeBSD's fuse module supports any kind of ioctl on > files or directories? I am struggling to get the Linux example to work > under FreeBSD. Issuing the ioctl always fails with "Inappropriate ioctl > for device". > > Secondly, am I right to assume that in FreeBSD, FUSE filesystems can > only be mounted in directories (but not files)? Under Linux, the > mountpoint can also be a file. > > Thanks! > -Nikolaus > > -- > 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 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"