Subject: Re: CVS commit: src/sys/fs/union (union_vfsops.c:1.15)
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 05/24/2004 02:59:18
Christos Zoulas <christos@netbsd.org> typed:
: Module Name:	src
: Committed By:	christos
: Date:		Sat May 22 20:42:08 UTC 2004
: Modified Files:
: 	src/sys/fs/union: union_vfsops.c
: Log Message:
: simplify stats taking and avoid the extra copy on the stack.
: cvs rdiff -r1.14 -r1.15 src/sys/fs/union/union_vfsops.c

This does something very bad with mount points.

e.g.
% mount_union /obj/src /usr/netbsd/src

BEFORE:
% df | fgrep /usr/netbsd
/dev/wd0h          1524599  1257977    190393    86%    /usr/netbsd
<above>:/obj/src   3322184  1274946   1944028    39%    /usr/netbsd/src

NOW:
% df | fgrep /usr/netbsd
/dev/wd0h          1524599  1257977    190393    86%    /usr/netbsd
/dev/wd0h          1524599  1257977    190393    86%    /usr/netbsd
% umount /usr/netbsd/src
umount: /usr/netbsd: Device busy

Regards,
Geoff