Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2019 12:09:28 +0000
From:      Igor Konev <ikonev84@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Question about mount_fusefs
Message-ID:  <20190521120928.27f9ddbf@eeepc>

next in thread | raw e-mail | index | archive | help
Hi, I use fusefs to mount ntfs fs.=20
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.

=46rom 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190521120928.27f9ddbf>