Subject: bin/15262: mount -u and mount -o update take different actions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dbj@netbsd.org>
List: netbsd-bugs
Date: 01/16/2002 08:43:46
>Number:         15262
>Category:       bin
>Synopsis:       mount -u and mount -o update take different actions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 16 05:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Darrin B. Jewell
>Release:        NetBSD 1.5ZA 20020105T2358Z
>Organization:
>Environment:
System: NetBSD quiteria 1.5ZA NetBSD 1.5ZA (QUITERIA) #510: Tue Jan 8 05:45:04 EST 2002 dbj@quiteria:/usr/src/sys/arch/macppc/compile/QUITERIA macppc
Architecture: powerpc
Machine: macppc
>Description:
        According to the mount man page, the `-u' mount option
is the same the as using `-o update'.  However, I notice a
difference.

>How-To-Repeat:
# mount
/dev/wd0a on / type ffs (local, noatime, nodevmtime)
# cat /etc/fstab
#       $NetBSD: fstab.wd,v 1.1 2000/06/12 23:06:59 matt Exp $
#
/dev/wd0a       /       ffs     rw,noatime,nodevmtime 1 1
# mount /
# mount
/dev/wd0a on / type ffs (local, noatime, nodevmtime)
# mount -u /
# mount
/dev/wd0a on / type ffs (local)
# mount -o update /
# mount
/dev/wd0a on / type ffs (local, noatime, nodevmtime)
# mount -u /
# mount
/dev/wd0a on / type ffs (local)
# mount -o update /
# mount
/dev/wd0a on / type ffs (local, noatime, nodevmtime)

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: