Mercurial > yaffs-ecoscentric-gpl
view linux-tests/mkfiles @ 401:7d524c984100
Tweak nfs support
Fix problem that caused a regression in busybox rm on directories
with many files.
Limit the feature to only compile with more recent kernels that have
all the required features.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
| author | Charles Manning <cdhmanning@gmail.com> |
|---|---|
| date | Wed, 14 Apr 2010 11:24:26 +1200 |
| parents | 4f82eda4f2ea |
| children | 675a2af6ea46 |
line wrap: on
line source
#!/bin/bash TREE_BASE=/mnt/dirtree for (( f=0; f<50; f++ )) do for (( d=0; d<50; d++ )) do mkdir -p $TREE_BASE/dir$d dd bs=1024 count=20 if=/dev/zero of=$TREE_BASE/dir$d/file$f done done echo "Foo bar file" > $TREE_BASE/foo_file ln $TREE_BASE/foo_file $TREE_BASE/../foo_link
