_supported_os IRIX Linux
_require_scratch
-_require_block_device $SCRATCH_DEV
+_require_local_device $SCRATCH_DEV
echo "*** init fs"
_supported_os Linux
_require_test
_require_scratch
-_require_block_device $SCRATCH_DEV
+_require_local_device $SCRATCH_DEV
fs_stress()
{
local type=$1
_scratch_mkfs >$seqres.full 2>&1
- _get_mount $SCRATCH_DEV $MNTHEAD
+ _get_mount -t $FSTYP $SCRATCH_DEV $MNTHEAD
$MOUNT_PROG --make-"${type}" $MNTHEAD
mkdir $mpA $mpB $mpC $mpD
}
start_test $dest
echo "bind $source on $dest"
- _get_mount $SCRATCH_DEV $mpA
+ _get_mount -t $FSTYP $SCRATCH_DEV $mpA
mkdir -p $mpA/dir 2>/dev/null
$MOUNT_PROG --make-shared $mpA
_get_mount --bind $mpA $mpB
fi
_get_mount --bind $mpC $mpD
for m in $mpA $mpB $mpC $mpD; do
- _get_mount $SCRATCH_DEV $m/dir
+ _get_mount -t $FSTYP $SCRATCH_DEV $m/dir
fs_stress $m/dir
find_mnt
_put_mount
_supported_os Linux
_require_test
_require_scratch
-_require_block_device $SCRATCH_DEV
+_require_local_device $SCRATCH_DEV
fs_stress()
{
local type=$1
_scratch_mkfs >$seqres.full 2>&1
- _get_mount $SCRATCH_DEV $MNTHEAD
+ _get_mount -t $FSTYP $SCRATCH_DEV $MNTHEAD
$MOUNT_PROG --make-"${type}" $MNTHEAD
mkdir $mpA $mpB $mpC
}
start_test private
echo "make-$cmd a $orgs mount"
- _get_mount $SCRATCH_DEV $mpA
+ _get_mount -t $FSTYP $SCRATCH_DEV $mpA
mkdir -p $mpA/dir 2>/dev/null
$MOUNT_PROG --make-shared $mpA
find_mnt
else
for m in $mpA $mpB $mpC; do
- _get_mount $SCRATCH_DEV $m/dir
+ _get_mount -t $FSTYP $SCRATCH_DEV $m/dir
fs_stress $m/dir
find_mnt
_put_mount
_supported_os Linux
_require_test
_require_scratch
-_require_block_device $SCRATCH_DEV
+_require_local_device $SCRATCH_DEV
fs_stress()
{
local type=$1
_scratch_mkfs >$seqres.full 2>&1
- _get_mount $SCRATCH_DEV $MNTHEAD
+ _get_mount -t $FSTYP $SCRATCH_DEV $MNTHEAD
$MOUNT_PROG --make-"${type}" $MNTHEAD
mkdir $mpA $mpB $mpC
}
{
start_test shared
- _get_mount $SCRATCH_DEV $mpA
+ _get_mount -t $FSTYP $SCRATCH_DEV $mpA
mkdir $mpA/mnt1
$MOUNT_PROG --make-shared $mpA
_get_mount --bind $mpA $mpB
_get_mount --bind $mpA $mpC
$MOUNT_PROG --make-slave $mpB
$MOUNT_PROG --make-slave $mpC
- _get_mount $SCRATCH_DEV $mpA/mnt1
+ _get_mount -t $FSTYP $SCRATCH_DEV $mpA/mnt1
mkdir $mpA/mnt1/mnt2
- _get_mount $SCRATCH_DEV $mpB/mnt1/mnt2
+ _get_mount -t $FSTYP $SCRATCH_DEV $mpB/mnt1/mnt2
find_mnt
fs_stress $mpB/mnt1/mnt2