Subject: Strange df(1)/statfs(2) behaviour with mount_union.
To: None <current-users@netbsd.org>
From: Aidan Kehoe <kehoea@parhasard.net>
List: current-users
Date: 04/14/2003 16:07:13
Have a look at this df(1) output; 

$ df -h
Filesystem            Size     Used     Avail Capacity  Mounted on
/dev/wd0a              11G     6.0G      4.8G    55%    /
mfs:80                496M     4.1M      467M     0%    /tmp
/dev/wd0e             5.6G     2.6G      3.0G    46%    /mnt/xp/c
/dev/wd0f              15G     5.8G      9.2G    38%    /mnt/xp/d
/dev/wd0g             4.4G     1.0G      3.2G    24%    /mnt/linux
<below>:/Sources/xc    17G      12G      4.8G    71%    /Build
<below>:/Sources/xc    17G      12G      4.8G    71%    /home/aidan/XF86/Build
$ 

Where is it getting the information for the size of /Sources/xc? Where would
I go to fix this--/src/sys/fs/union/union_vfsops.c? I also got a hang on
reboot when I have more than on directory union mounted on the same source
tree, as above; I'm not sure if it's reproducible. 

-- 
"I have heard the swelling cry of the English speaking peoples of the
world, and it tells me their cause is served best by flaming the few
complacent asses on usenet." -- T. Samant, 29 June 1997