Date: Wed, 12 Jul 2006 12:48:42 GMT From: Patrick Wolfe <pwolfe@employease.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/100164: mount ignoring "ro" option in fstab Message-ID: <200607121248.k6CCmgbd038414@www.freebsd.org> Resent-Message-ID: <200607121250.k6CCoHSw071926@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607121248.k6CCmgbd038414>