From owner-freebsd-i386@FreeBSD.ORG Wed Jul 12 12:50:24 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40BAF16A4DA for ; Wed, 12 Jul 2006 12:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A5B43D5A for ; Wed, 12 Jul 2006 12:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6CCoH8h071929 for ; Wed, 12 Jul 2006 12:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6CCoHSw071926; Wed, 12 Jul 2006 12:50:17 GMT (envelope-from gnats) Resent-Date: Wed, 12 Jul 2006 12:50:17 GMT Resent-Message-Id: <200607121250.k6CCoHSw071926@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Wolfe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7DA16A4DA for ; Wed, 12 Jul 2006 12:48:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2EFB43D4C for ; Wed, 12 Jul 2006 12:48:42 +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 k6CCmgDG038415 for ; Wed, 12 Jul 2006 12:48:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6CCmgbd038414; Wed, 12 Jul 2006 12:48:42 GMT (envelope-from nobody) Message-Id: <200607121248.k6CCmgbd038414@www.freebsd.org> Date: Wed, 12 Jul 2006 12:48:42 GMT From: Patrick Wolfe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/100164: mount ignoring "ro" option in fstab X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 12:50:24 -0000 >Number: 100164 >Category: i386 >Synopsis: mount ignoring "ro" option in fstab >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 12 12:50:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Patrick Wolfe >Release: 7.0 CURRENT >Organization: Employease Inc >Environment: FreeBSD spank.tek.eease.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 21 15:40:32 EDT 2006 root@spank.tek.eease.com:/usr/obj/usr/src/sys/SPANK i386 >Description: The "mount" command silently ignores the "ro" option when specified in the fstab file. This bug only exists in the development version of FreeBSD. I also tested 6.1 and 5.4, and they work fine. Note: the "-r" and "-o ro" command line options are not affected, they work fine. >How-To-Repeat: mkdir /foo echo "/etc /foo nullfs ro 0 0" >> /etc/fstab mount /foo mount | grep foo >Fix: >Release-Note: >Audit-Trail: >Unformatted: