From jonny@coppe.ufrj.br  Fri Oct 17 21:45:00 1997
Received: from gaia.coppe.ufrj.br ([146.164.5.200])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA27181
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Oct 1997 21:44:59 -0700 (PDT)
          (envelope-from jonny@coppe.ufrj.br)
Received: (from jonny@localhost)
	by gaia.coppe.ufrj.br (8.8.7/8.8.7) id CAA23224;
	Sat, 18 Oct 1997 02:44:56 -0200 (EDT)
	(envelope-from jonny)
Message-Id: <199710180444.CAA23224@gaia.coppe.ufrj.br>
Date: Sat, 18 Oct 1997 02:44:56 -0200 (EDT)
From: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
Reply-To: jonny@coppe.ufrj.br
To: FreeBSD-gnats-submit@freebsd.org
Subject: mount -p does not reflect noatime flag
X-Send-Pr-Version: 3.2

>Number:         4794
>Category:       bin
>Synopsis:       mount -p does not reflect noatime flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 17 21:50:01 PDT 1997
>Closed-Date:    Fri Feb 27 01:54:29 PST 1998
>Last-Modified:  Fri Feb 27 01:55:11 PST 1998
>Originator:     Joao Carlos Mendes Luis
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
COPPE/UFRJ
>Environment:

>Description:

	mount -p does not reflect noatime flag

>How-To-Repeat:

	mount some dir with option noatime, and run mount -p

>Fix:
	
--- mount.c.org Sat Oct 18 02:40:00 1997
+++ mount.c     Sat Oct 18 02:39:01 1997
@@ -589,6 +589,9 @@
     if (ent->f_flags & MNT_ASYNC)
        printf (",async");
 
+    if (ent->f_flags & MNT_NOATIME)
+       printf (",noatime");
+
     if (fst = getfsspec (ent->f_mntfromname))
        printf ("\t%u %u\n", fst->fs_freq, fst->fs_passno);
     else if (fst = getfsfile (ent->f_mntonname))


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Feb 27 01:54:29 PST 1998 
State-Changed-Why:  
Fixed in both -current and -stable. 
>Unformatted:
