Subject: Re: kern/30100
To: None <gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 04/30/2005 18:07:45
On Apr 30,  9:59pm, rpaulo@netbsd-pt.org (Rui Paulo) wrote:
-- Subject: Re: kern/30100

| The following reply was made to PR kern/30100; it has been noted by GNATS.
| 
| From: Rui Paulo <rpaulo@netbsd-pt.org>
| To: gnats-bugs@netbsd.org
| Cc: 
| Subject: Re: kern/30100
| Date: Sat, 30 Apr 2005 22:58:30 +0100
| 
|  > In a separate window start doing a df in a loop while the mounting
|  > goes on and see what happens :-) It is a different bug though.
|  
|  I can't tigger this bug. After creating 1000 directories in /mnt, I did, 
|  in separate terminals:
|  	1) i=1; while [[ i -lt 1000 ]]; do \
|  		mount_null /usr/src /mnt/$i; let i=`expr $i + 1`; done
|  	2) while :; do dd if=/dev/zero of=bla bs=1m count=6; done
|  

In one window I did:

#!/bin/sh

if [ -z $PWD ]
then
        PWD=$(pwd)
fi
i=1
while true
do
        D=$PWD/m/$i
        mkdir -p $D
        mount -t null /usr $D
        i=$(expr $i + 1)
done

In a second window I did:

while true
do
	df
done