[LTP] mkfs.vfat: Device partition expected, not making filesystem on entire device '/dev/vdb' (use -I to override)
Petr Vorel
pvorel@suse.cz
Wed Jan 15 12:09:22 CET 2020
Hi,
there is a problem with mkfs.vfat, when LTP_DEV is full block device:
# ltp_dev=/dev/vdb fsync04
...
fsync04.c:50: PASS: Test file synced to device
tst_test.c:1278: INFO: Testing on xfs
tst_mkfs.c:35 tst_mkfs_(): pev: fs_type: 'xfs'
tst_mkfs.c:92: INFO: Formatting /dev/vdb with xfs opts='' extra opts=''
tst_test.c:1215: INFO: Timeout per run is 0h 05m 00s
fsync04.c:50: PASS: Test file synced to device
tst_test.c:1278: INFO: Testing on btrfs
tst_mkfs.c:35 tst_mkfs_(): pev: fs_type: 'btrfs'
tst_mkfs.c:92: INFO: Formatting /dev/vdb with btrfs opts='' extra opts=''
tst_test.c:1215: INFO: Timeout per run is 0h 05m 00s
fsync04.c:50: PASS: Test file synced to device
tst_test.c:1278: INFO: Testing on vfat
tst_mkfs.c:35 tst_mkfs_(): pev: fs_type: 'vfat'
tst_mkfs.c:92: INFO: Formatting /dev/vdb with vfat opts='' extra opts=''
mkfs.vfat: Device partition expected, not making filesystem on entire device '/dev/vdb' (use -I to override)
tst_mkfs.c:103: BROK: mkfs.vfat:1: tst_test.c failed with 830
Do we want to add permanently -I to vfat?
Or is it too hacky to trying to workaround tool's problem in the code?
Kind regards,
Petr
More information about the ltp
mailing list