From owner-freebsd-questions@FreeBSD.ORG Mon May 18 18:54:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9DDD12D for ; Mon, 18 May 2015 18:54:09 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A91ED13BB for ; Mon, 18 May 2015 18:54:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YuQAo-0006hV-WA for freebsd-questions@freebsd.org; Mon, 18 May 2015 20:53:59 +0200 Received: from p5dcd6c4b.dip0.t-ipconnect.de ([93.205.108.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2015 20:53:58 +0200 Received: from jumper99 by p5dcd6c4b.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 May 2015 20:53:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Subject: 'mount_smbfs -o' on FreeBSD 10.1 Date: Mon, 18 May 2015 18:53:52 +0000 (UTC) Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd6c4b.dip0.t-ipconnect.de User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:00000065 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 18:54:10 -0000 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