i386/100164: mount ignoring "ro" option in fstab

Patrick Wolfe pwolfe at employease.com
Wed Jul 12 12:50:24 UTC 2006


>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 at 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:


More information about the freebsd-i386 mailing list