Date: Thu, 26 Apr 2001 17:51:45 -0700 (PDT) From: Archie Cobbs <archie@packetdesign.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/26886: mount -w doesn't work on a normally read-only filesystem Message-ID: <200104270051.f3R0pj155977@bubba.packetdesign.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104270051.f3R0pj155977>