From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 15 22:40:29 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18B0C16A4CE for ; Sat, 15 Jan 2005 22:40:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC5DD43D4C for ; Sat, 15 Jan 2005 22:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0FMeSwI076323 for ; Sat, 15 Jan 2005 22:40:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0FMeSGe076322; Sat, 15 Jan 2005 22:40:28 GMT (envelope-from gnats) Resent-Date: Sat, 15 Jan 2005 22:40:28 GMT Resent-Message-Id: <200501152240.j0FMeSGe076322@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bart Kus Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C99C16A4CE for ; Sat, 15 Jan 2005 22:34:06 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1080C43D1F for ; Sat, 15 Jan 2005 22:34:06 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0FMY5Vk082710 for ; Sat, 15 Jan 2005 22:34:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j0FMY5n1082709; Sat, 15 Jan 2005 22:34:05 GMT (envelope-from nobody) Message-Id: <200501152234.j0FMY5n1082709@www.freebsd.org> Date: Sat, 15 Jan 2005 22:34:05 GMT From: Bart Kus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/76298: fstab doesn't pass mntops properly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2005 22:40:29 -0000 >Number: 76298 >Category: misc >Synopsis: fstab doesn't pass mntops properly >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 15 22:40:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bart Kus >Release: 5.3-RELEASE >Organization: >Environment: FreeBSD jo.shell-server.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: It seems like there needs to be some kind of option in the mntops column of fstab from the "man mount" list under the -o section PRECEDING any "man mount_nfs" options. Please notice the addition of the "ro," option below. The exports line is: [root@jo:~]# tail -2 /etc/exports /usr/home/autocvs/src /usr/home/autocvs/ports -ro [root@jo:~]# >How-To-Repeat: [root@jo:~]# tail -1 /etc/fstab jo:/usr/home/autocvs/ports /root/test nfs -T 0 0 [root@jo:~]# mount test fstab: /etc/fstab:7: Inappropriate file type or format fstab: /etc/fstab:7: Inappropriate file type or format mount: test: unknown special file or file system [root@jo:~]# >Fix: [root@jo:~]# tail -1 /etc/fstab jo:/usr/home/autocvs/ports /root/test nfs ro,-T 0 0 [root@jo:~]# mount -a [root@jo:~]# df -h | tail -1 jo:/usr/home/autocvs/ports 17G 3.6G 12G 24% /root/test [root@jo:~]# >Release-Note: >Audit-Trail: >Unformatted: