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

Vasileios Almpanis vasileios.almpanis@virtuozzo.com
Wed Jul 8 12:23:48 CEST 2026


On 7/7/26 12:29 PM, Cyril Hrubis wrote:
> 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?

>
>>   }
>>   
>>   df_test()
>> -- 
>> 2.47.3
>>
-- 
Best regards, Vasileios Almpanis
Software Developer, Virtuozzo.



More information about the ltp mailing list