Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 1997 02:44:56 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4794: mount -p does not reflect noatime flag
Message-ID:  <199710180444.CAA23224@gaia.coppe.ufrj.br>
Resent-Message-ID: <199710180450.VAA27327@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4794
>Category:       bin
>Synopsis:       mount -p does not reflect noatime flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 17 21:50:01 PDT 1997
>Last-Modified:
>Originator:     Joao Carlos Mendes Luis
>Organization:
COPPE/UFRJ
>Release:        FreeBSD 2.2-STABLE i386
>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))


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710180444.CAA23224>