From owner-freebsd-bugs Fri Oct 17 21:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA27333 for bugs-outgoing; Fri, 17 Oct 1997 21:50:06 -0700 (PDT) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA27327; Fri, 17 Oct 1997 21:50:01 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 17 Oct 1997 21:50:01 -0700 (PDT) Resent-Message-Id: <199710180450.VAA27327@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, jonny@coppe.ufrj.br 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 ; 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 Reply-To: jonny@coppe.ufrj.br To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4794: mount -p does not reflect noatime flag Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: