Subject: misc/7716: /etc/daily modify
To: None <gnats-bugs@gnats.netbsd.org>
From: None <seirios@matrix.iri.co.jp>
List: netbsd-bugs
Date: 06/05/1999 19:21:41
>Number:         7716
>Category:       misc
>Synopsis:       using UNIONFS or NULLFS, daily is very slow.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun  5 19:20:02 1999
>Last-Modified:
>Originator:     HEO SeonMeyong
>Organization:
>Release:        NetBSD 1.4C 1999-06-06
>Environment:
System: NetBSD laysner.grid.iri.co.jp 1.4C NetBSD 1.4C (LAYSNER) #2: Sun Jun 6 03:34:19 JST 1999 seirios@laysner.grid.iri.co.jp:/usr/src/sys/arch/i386/compile/LAYSNER i386

>Description:
	Using UNIONFS/NULLFS find search union/null filesystem many times.
>How-To-Repeat:
	run /etc/daily
>Fix:
	attach temporaly patch.
	But I think this is not solv this probrem.

----- Cut here -----

--- daily	1999/05/03 13:26:48	1.1
+++ daily	1999/05/30 18:44:02	1.2
@@ -81,8 +81,8 @@
 
 if checkyesno find_core; then
 	find / \( ! -fstype local -o -fstype rdonly -o -fstype fdesc \
-		-o -fstype kernfs -o -fstype procfs \) -a -prune -o \
-		-name 'lost+found' -a -prune -o \
+		-o -fstype kernfs -o -fstype procfs -o union -o null \) \
+		-a -prune -o -name 'lost+found' -a -prune -o \
 		\( -name '*.core' -o -name 'core' \) -a -print > $TMP
 #		\( -name '[#,]*' -o -name '.#*' -o -name a.out \
 #		   -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
>Audit-Trail:
>Unformatted: