function hd test clean umount in split format
|
Describe function_hd_test_mount_prepare here.= NAME =hd_test_clean_umount
|
Describe function_hd_test_mount_prepare here.= NAME =hd_test_clean_umount
|
|
|
= SYNOPSIS =hd_test_clean_umount <mount_device> <mount_point_dir>
|
|
|
= DESCRIPTION =This function remove the test directory mounted filesystem, and then unmounts the block device from the filesystem of the target.
|
|
If the block device has the string "ROOT", this function will only remove thetest directory, and not unmount the filesystem.
|
If the block device has the string "ROOT", this function will only remove thetest directory, and not unmount the filesystem.
|
|
|
= EXAMPLES =Here are some sample invocations:{{{#!YellowBoxhd_test_clean_umount $BENCHMARK_TIOBENCH_MOUNT_BLOCKDEV $BENCHMARK_TIOBENCH_MOUNT_POINT}}}
|
|
|
{{{#!YellowBoxhd_test_clean_umount $BENCHMARK_IOZONE_MOUNT_BLOCKDEV $BENCHMARK_IOZONE_MOUNT_POINT}}}
|
|
|
= ENVIRONMENT and ARGUMENTS =This function takes the following positional arguments: * $1 - the device node to unmount * $2 - the directory for the mount point
|
|
|
= RETURN =Returns non-zero on error.
|
|
|
= SOURCE =Located in ''scripts/functions.sh''
|
|
hs_test_mount_prepare, test_run
|
= SEE ALSO = * [[function_hd_test_mount_prepare|hs_test_mount_prepare]], [[function_test_run|test_run]]
|