Ncurses test

create raw file floppy.raw

dd if=/dev/zero of=floppy.raw bs=1024 count=128

128+0 records in 128+0 records out 131072 bytes (131 kB, 128 KiB) copied, 0.000353997 s, 370 MB/s

format floppy.raw as ext3 raw partition

mkfs.ext3 -F floppy.raw

mke2fs 1.43.4 (31-Jan-2017)

Filesystem too small for a journal Discarding device blocks:
Creating filesystem with 128 1k blocks and 16 inodes

Allocating group tables: 0/1 done
Writing inode tables: 0/1 done
Writing superblocks and filesystem accounting information: 0/1 done

clone floppy.raw to floppy.img

../src/partclone.extfs -d -N -s floppy.raw -O floppy.img -F -L test.log

ncursesw test ok

clear tmp files floppy.img floppy.raw test.log