From owner-freebsd-questions@freebsd.org Tue May 21 12:28:28 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1C6215ACCF5 for ; Tue, 21 May 2019 12:28:28 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 162E18B946 for ; Tue, 21 May 2019 12:28:26 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 560D02DBC1F3; Tue, 21 May 2019 15:32:29 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20190408 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20190408 X-Spam-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Tue, 21 May 2019 15:32:29 +0300 (MSK) Date: Tue, 21 May 2019 15:32:29 +0300 (MSK) From: "Igor V. Ruzanov" X-X-Sender: igorr@pochta.canmos.ru To: Igor Konev cc: freebsd-questions@freebsd.org Subject: Re: Question about mount_fusefs In-Reply-To: <20190521120928.27f9ddbf@eeepc> Message-ID: References: <20190521120928.27f9ddbf@eeepc> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Rspamd-Queue-Id: 162E18B946 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=canmos.ru (policy=none) X-Spamd-Result: default: False [2.05 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.81)[-0.808,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[country: RU(0.01)]; NEURAL_SPAM_MEDIUM(0.02)[0.020,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[pochta-mx.canmos.ru]; MX_MISSING(3.50)[requested record is not found]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.75)[-0.754,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[mail.ru]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:39821, ipnet:89.107.120.0/21, country:RU]; RCVD_COUNT_TWO(0.00)[2]; DMARC_POLICY_SOFTFAIL(0.10)[canmos.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 12:28:29 -0000 On Tue, 21 May 2019, Igor Konev via freebsd-questions wrote: |Hi, I use fusefs to mount ntfs fs. |And I have a question about the command line options for mount_fusefs. | |What does key -s mean? What is he doing? I tried to use it but without |success. | >From MOUNT_FUSEFS(8) : Finally, if special is an integer it will be interpreted as the number of the file descriptor of an already open fuse device (used when the Fuse library invokes mount_fusefs. (See DAEMON MOUNTS). I guess the key is ised in conjunction of another software doing any jobs over opened fuse device files. |From MOUNT_FUSEFS(8) : | |MOUNT_FUSEFS(8) | |SYNOPSIS | mount_fusefs [-A] [-S] [-v] [-D fuse_daemon] [-O daemon_opts] | [-s special] [-m node] [-h] [-V] [-o option ...] | special node [fuse_daemon ...] | | | -s, --special special | Use special as special | |So for my case, I can run the mount_fusefs command in two ways: |- mount_fusefs special node [fuse_daemon ...] |- mount_fusefs -s special node [fuse_daemon] | |1) | |$ mount_fusefs /dev/fuse ~/mnt0 ntfs-3g /dev/da0s1 ~/mnt0 |$ echo $? |0 | |$ mount |/dev/ada0p4 on / (ufs, local, soft-updates) |devfs on /dev (devfs, local, multilabel) |... |/dev/fuse on /usr/home/user1/mnt0 (fusefs, local, nosuid, synchronous, |mounted by user1) | |2) | |$ mount_fusefs -s /dev/fuse ~/mnt0 ntfs-3g /dev/da0s1 ~/mnt0 |mount_fusefs: special specified inconsistently |$ echo $? |1 | |Ivan Konev |_______________________________________________ |freebsd-questions@freebsd.org mailing list |https://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" |