[LTP] [PATCH] df01: detect "fuse" fstype in addition to "fuseblk"

Cyril Hrubis chrubis@suse.cz
Wed Jul 8 14:30:53 CEST 2026


Hi!
> >>   setup()
> >>   {
> >> -	DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuseblk)" /proc/mounts | awk 'NR==1{print $3}')"
> >> +	DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuseblk|fuse)" /proc/mounts | awk 'NR==1{print $3}')"
> > fuse is a substring of fuseblk so just ($TST_FS_TYPE|fuse) should
> > suffice, right?
> 
> Hi Chris, looking at it again, yes you are right just fuse would catch 
> both cases. I see the patch is already in master
> do you want me to send another one or shall we leave it as it is?

Just send a patch againts latest git head that removes the fuseblk.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list