Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 11/14/2000 00:12:51
Module Name:	basesrc
Committed By:	perseant
Date:		Mon Nov 13 22:12:51 UTC 2000

Modified Files:
	basesrc/libexec/lfs_cleanerd: Makefile cleanerd.c
	basesrc/sbin/mount_lfs: mount_lfs.c

Log Message:
Try to prevent running more than one active cleaner on a filesystem at a time.

Let lfs_cleanerd record its pid in /var/run like other daemons.  Make
mount_lfs not start another cleaner when updating the mount, unless it is
being upgraded from read-only to read-write; when downgrading to read-only,
kill the cleaner using the recorded pids.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/libexec/lfs_cleanerd/Makefile
cvs rdiff -r1.24 -r1.25 basesrc/libexec/lfs_cleanerd/cleanerd.c
cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_lfs/mount_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.