From 336f2b1796b18df6c2d8b9191d61ee198f6d951b Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 19 Mar 1998 15:02:09 +0000 Subject: Add noatime option to new filesystems to speed up initial extraction. Suggested by: bde --- release/sysinstall/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/sysinstall/misc.c b/release/sysinstall/misc.c index 48df7f4..bb00639 100644 --- a/release/sysinstall/misc.c +++ b/release/sysinstall/misc.c @@ -1,7 +1,7 @@ /* * Miscellaneous support routines.. * - * $Id: misc.c,v 1.36 1997/11/05 06:11:30 obrien Exp $ + * $Id: misc.c,v 1.37 1998/01/16 15:07:55 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -338,7 +338,7 @@ Mount(char *mountp, void *dev) msgDebug("mount %s %s\n", device, mountpoint); ufsargs.fspec = device; - if (mount("ufs", mountpoint, RunningAsInit ? MNT_ASYNC : 0, + if (mount("ufs", mountpoint, RunningAsInit ? MNT_ASYNC | MNT_NOATIME : 0, (caddr_t)&ufsargs) == -1) { msgConfirm("Error mounting %s on %s : %s", device, mountpoint, strerror(errno)); return DITEM_FAILURE; -- cgit v1.1