Test out xfsdump'ing of a large file with size greater

than 32 bits - to test out the libhandle O_LARGEFILE support.
This commit is contained in:
Tim Shimmin
2002-04-02 08:48:52 +00:00
parent 083e9928f7
commit dbf1e1bc45
4 changed files with 128 additions and 0 deletions
+11
View File
@@ -530,6 +530,17 @@ _do_create_dumpdir_fill()
cd $here
}
_create_dumpdir_largefile()
{
_wipe_fs
mkdir -p $dump_dir ||\
_error "cannot mkdir \"$dump_dir\""
_largesize=4294967297
_largefile=$dump_dir/largefile
echo "dd a largefile at offset $_largesize"
dd if=/dev/zero of=$_largefile bs=1 seek=$_largesize count=10 2>&1
_stable_fs
}
_create_dumpdir_fill()
{