From owner-freebsd-bugs Thu Apr 26 18: 0:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 33CEC37B42C for ; Thu, 26 Apr 2001 18:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3R104K52066; Thu, 26 Apr 2001 18:00:04 -0700 (PDT) (envelope-from gnats) Received: from mailman.packetdesign.com (dns.packetdesign.com [65.192.41.10]) by hub.freebsd.org (Postfix) with ESMTP id D8D2E37B423 for ; Thu, 26 Apr 2001 17:51:50 -0700 (PDT) (envelope-from archie@packetdesign.com) Received: from bubba.packetdesign.com (bubba.packetdesign.com [192.168.0.223]) by mailman.packetdesign.com (8.11.0/8.11.0) with ESMTP id f3R0pj262021 for ; Thu, 26 Apr 2001 17:51:45 -0700 (PDT) (envelope-from archie@packetdesign.com) Received: (from archie@localhost) by bubba.packetdesign.com (8.11.3/8.11.1) id f3R0pj155977; Thu, 26 Apr 2001 17:51:45 -0700 (PDT) (envelope-from archie) Message-Id: <200104270051.f3R0pj155977@bubba.packetdesign.com> Date: Thu, 26 Apr 2001 17:51:45 -0700 (PDT) From: Archie Cobbs Reply-To: archie@packetdesign.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/26886: mount -w doesn't work on a normally read-only filesystem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26886 >Category: bin >Synopsis: mount -w doesn't work on a normally read-only filesystem >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: Thu Apr 26 18:00:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Archie Cobbs >Release: FreeBSD 4.3-RELEASE i386 >Organization: Packet Design >Environment: System: FreeBSD bubba.packetdesign.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu Apr 26 15:28:39 PDT 2001 root@bubba.packetdesign.com:/usr/obj/usr/src/sys/BUBBA i386 >Description: The "-w" flag to mount(8) doesn't work if the filesystem is marked with the "ro" option in /etc/fstab. It seems like "-w" should override /etc/fstab. >How-To-Repeat: Have an /etc/fstab entry like this: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1e /foo ufs ro 1 1 With the filesystem unmounted, do this: $ mount -w /foo The filesystem is mounted read-only instead of read-write. >Fix: $ mount /foo $ mount -u /foo >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message