Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2015 18:53:52 +0000 (UTC)
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        freebsd-questions@freebsd.org
Subject:   'mount_smbfs -o' on FreeBSD 10.1
Message-ID:  <xn0jm6it6aqftyj000@news.gmane.org>

next in thread | raw e-mail | index | archive | help
Hi,

I upgraded from 9.3 to 10.1 yesterday. I used to use a script that
mounts SMB shares and not fstab because 9.3 booted to single user mode
when the SMB server was unavailable.

It seems that with 10.1 mount_smbfs does not support the "-o" switch
anymore:

[helmut@BSDHelmut ~]$ sudo mount_smbfs -o noexec,nosuid,noatime,ro -N
-I 192.168.124.251 -W DOMAIN //unix-smb-dummy@fs01/install
/var/www/var/www/smbfs/install
mount_smbfs: mount error: /var/www/var/www/smbfs/install Invalid option
[helmut@BSDHelmut ~]$ sudo mount_smbfs -N -I 192.168.124.251 -W DOMAIN
//unix-smb-dummy@fs01/install /var/www/var/www/smbfs/install
[helmut@BSDHelmut ~]$

How can I pass those options with 10.1?

Thanks, Helmut




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