Skip to content

Instantly share code, notes, and snippets.

@b10n1k
Created January 17, 2022 18:32
Show Gist options
  • Save b10n1k/a39a3279ff55ba660ba8ee2a001cd691 to your computer and use it in GitHub Desktop.
Save b10n1k/a39a3279ff55ba660ba8ee2a001cd691 to your computer and use it in GitHub Desktop.
❯ sudo ./msync04
tst_device.c:88: TINFO: Found free device 0 '/dev/loop0'
tst_supported_fs_types.c:89: TINFO: Kernel supports ext2
tst_supported_fs_types.c:51: TINFO: mkfs.ext2 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports ext3
tst_supported_fs_types.c:51: TINFO: mkfs.ext3 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports ext4
tst_supported_fs_types.c:51: TINFO: mkfs.ext4 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports xfs
tst_supported_fs_types.c:51: TINFO: mkfs.xfs does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports btrfs
tst_supported_fs_types.c:51: TINFO: mkfs.btrfs does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports vfat
tst_supported_fs_types.c:51: TINFO: mkfs.vfat does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports exfat
tst_supported_fs_types.c:51: TINFO: mkfs.exfat does exist
tst_supported_fs_types.c:119: TINFO: FUSE does support ntfs
tst_supported_fs_types.c:51: TINFO: mkfs.ntfs does exist
tst_supported_fs_types.c:147: TINFO: Skipping tmpfs as requested by the test
tst_test.c:1438: TINFO: Testing on ext2
tst_test.c:933: TINFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
mke2fs 1.46.4 (18-Aug-2021)
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740456
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on ext3
tst_test.c:933: TINFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
mke2fs 1.46.4 (18-Aug-2021)
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740456
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on ext4
tst_test.c:933: TINFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
mke2fs 1.46.4 (18-Aug-2021)
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740472
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740456
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on xfs
tst_test.c:933: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2088
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on btrfs
tst_test.c:933: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740476
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740476
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740476
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740460
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on vfat
tst_test.c:933: TINFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740456
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on exfat
tst_test.c:933: TINFO: Formatting /dev/loop0 with exfat opts='' extra opts=''
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740440
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 34359740456
msync04.c:78: TPASS: msync() working correctly
tst_test.c:1438: TINFO: Testing on ntfs
tst_test.c:933: TINFO: Formatting /dev/loop0 with ntfs opts='' extra opts=''
The partition start sector was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
The number of sectors per track was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
The number of heads was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
To boot from a device, Windows needs the 'partition start sector', the 'sectors per track' and the 'number of heads' to be set.
Windows will not be able to boot from this device.
tst_test.c:947: TINFO: Trying FUSE...
tst_test.c:1370: TINFO: Timeout per run is 0h 05m 00s
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2072
debug addr 0x7ffe7d901ca0
debug index 273037062232 0x7ffe7d901cb8
4096
page entry 2088
msync04.c:78: TPASS: msync() working correctly
Summary:
passed 8
failed 0
broken 0
skipped 0
warnings 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment