From owner-freebsd-stable@freebsd.org Tue Jun 30 23:37:02 2015 Return-Path: Delivered-To: freebsd-stable@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 519EA9909E1 for ; Tue, 30 Jun 2015 23:37:02 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1183B1EEA for ; Tue, 30 Jun 2015 23:37:01 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AFBQC/J5NV/61jaINBGoNlXwaDGLwSCoUuSgKCFhABAQEBAQEBgQqEIwEBBAEBASArIAsFCwIBCA4KAgINGQICJwEJJgIECAcEARwEiA4NOrI7lwQBAQEBAQEBAwEBAQEBAQEbgSGKKYQ0AQEFFzQHgmiBQwWUB4RahDKEBUSGW49iAiZjgzMiMQeBBTqBAgEBAQ X-IronPort-AV: E=Sophos;i="5.15,381,1432612800"; d="scan'208";a="221298794" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 30 Jun 2015 19:36:40 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 40AB715F533; Tue, 30 Jun 2015 19:36:40 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id s6Ut6qEcszOb; Tue, 30 Jun 2015 19:36:39 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 9ED2415F54D; Tue, 30 Jun 2015 19:36:39 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZOTzHPCiQigy; Tue, 30 Jun 2015 19:36:39 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 6EB8215F533; Tue, 30 Jun 2015 19:36:39 -0400 (EDT) Date: Tue, 30 Jun 2015 19:36:39 -0400 (EDT) From: Rick Macklem To: Sergey Matveychuk Cc: freebsd-stable@freebsd.org Message-ID: <339979632.2496209.1435707399408.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <55931B44.5080503@semmy.ru> References: <559309CE.2020306@FreeBSD.org> <1613380541.2481681.1435703172752.JavaMail.zimbra@uoguelph.ca> <55931B44.5080503@semmy.ru> Subject: Re: Sharing NTFS via NFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.12] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: Sharing NTFS via NFS Thread-Index: FeWCW6//dKpQ8acF4mzz9pYcmlMABA== X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 23:37:02 -0000 Sergey Matveychuk wrote: > 01.07.2015 1:26, Rick Macklem wrote: > > Sergey Matveychuk wrote: > >> Hi. > >> > >> For some reason I need to share USB disk with NTFS via NFS. I use > >> fusefs-ntfs to mount the USB disk. But can't export it. I've got this > >> message from mountd(8): > >> mountd[85534]: can't export /mnt > >> > >> After googling I found out Linux can export Ntfs-3g with option > >> no_root_squash: http://ubuntuforums.org/showthread.php?t=1791330 > >> > >> But how to do this with FreeBSD (10.0-RELEASE now)? > > Short answer is you can't. Fuse file systems on FreeBSD can't be exported. > > > > I'd like to read a long answer. Why? What limitations? Fuse on FreeBSD doesn't support VFS operations that are required by the NFS server. VFS_FHTOVP(), VFS_VPTOFH() and the stuff that allows a mount point to be exported are some, there are probably others. How much work would it be to add this capability. At this time I have no idea since I am not conversant with Fuse. rick > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >