[LTP] [PATCH V2 04/10] syscalls/fsopen: New tests
Yang Xu
xuyang2018.jy@cn.fujitsu.com
Mon Feb 24 04:35:31 CET 2020
Hi Viresh
> On 20-02-20, 18:04, Petr Vorel wrote:
>> However I have problem on fsopen01 and fsmount02.
>> mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not making
>> filesystem (use -I to override)
>> tst_mkfs.c:100: BROK: tst_test.c:830: mkfs.vfat failed with 1
>>
>> .dev_fs_flags = TST_FS_SKIP_FUSE helps with exfat and ntfs, but this also fails
>> on vfat.
>>
>> This is tested on system with CONFIG_VFAT_FS=m and CONFIG_FAT_FS=m, vfat and fat
>> are loaded by mkfs.vfat. IMHO we need something like TST_FS_SKIP_EXFAT | TST_FS_SKIP_FAT | TST_FS_SKIP_NTFS | TST_FS_SKIP_FUSE
>> i.e. explicitly say what FS is not wanted no matter whether it's fuse or not.
>>
>> Or maybe just TST_FS_SKIP_FAT | TST_FS_SKIP_FUSE would be enough.
>>
>> NOTE: flags TST_FS_SKIP_EXFAT, TST_FS_SKIP_FAT, TST_FS_SKIP_NTFS do not exists yet.
>
> I am not sure what should be done here.
I guess petr may want to let you add TST_FS_SKIP_FAT flag like adding
TST_FS_SKIP_FUSE flag in commit dbe56e52bc50("ib: Add flags to
tst_get_supported_fs_types()").
Best Regards
Yang Xu
>
> @Cyril ?
>
More information about the ltp
mailing list