Subject: bin/20411: LFS is ready to enable NOATIME?
To: None <gnats-bugs@gnats.netbsd.org>
From: None <koie@suri.co.jp>
List: netbsd-bugs
Date: 02/18/2003 04:59:34
>Number: 20411
>Category: bin
>Synopsis: LFS is ready to enable NOATIME?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 18 05:00:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: KOIE Hidetaka
>Release: 1.6N
>Organization:
surigiken
>Environment:
NetBSD skipjack.koie.org 1.6N NetBSD 1.6N (TP235) #0: Mon Feb 17 20:14:07 JST 2003 koie@skipjack.koie.org:/usr/src/sys/arch/i386/compile/TP235 i386
>Description:
I never use atime.
(I dont know LFS inside.
possibly, updating atime is already optimized.)
>How-To-Repeat:
>Fix:
Index: mount_lfs.c
===================================================================
RCS file: /cvsroot/src/sbin/mount_lfs/mount_lfs.c,v
retrieving revision 1.14
diff -p -u -r1.14 mount_lfs.c
--- mount_lfs.c 2002/09/21 18:43:35 1.14
+++ mount_lfs.c 2003/02/18 12:56:37
@@ -69,6 +69,7 @@ static const struct mntopt mopts[] = {
MOPT_STDOPTS,
MOPT_UPDATE,
MOPT_GETARGS,
+ MOPT_NOATIME,
{ NULL }
};
>Release-Note:
>Audit-Trail:
>Unformatted: