Subject: Re: booted on Soekris net4501
To: Todd Vierling <tv@wasabisystems.com>
From: Daniel =?iso-8859-1?q?N=E9ri?= <daniel.neri@sigicom.com>
List: port-i386
Date: 07/30/2001 19:20:15
--=-=-=

Todd Vierling <tv@wasabisystems.com> writes:

> make sure that you mount / either read-only or "noatime", so that
> there aren't continuous writes to the CF card.

Right. Just tried "noatime" on a msdosfs... and failed. As far as my
understanding goes, this should be valid at least for "long
filename/win95" mode, so I came up with the trivial patch below (for
the netbsd-1-5 branch).


Best wishes,
   --Daniel



--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment

diff -u -r1.1.1.1 -r1.2
--- sbin/mount_msdos/mount_msdos.c	2001/07/11 14:45:25	1.1.1.1
+++ sbin/mount_msdos/mount_msdos.c	2001/07/30 17:03:15	1.2
@@ -60,6 +60,7 @@
 	MOPT_ASYNC,
 	MOPT_SYNC,
 	MOPT_UPDATE,
+	MOPT_NOATIME,
 	{ NULL }
 };
 

--=-=-=--