summaryrefslogtreecommitdiffstats
path: root/tests/expected/minix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/minix/fsck370
-rw-r--r--tests/expected/minix/fsck-images-auto-fix57
-rw-r--r--tests/expected/minix/fsck-images-badblocks35
-rw-r--r--tests/expected/minix/fsck-images-badblocks.BE35
-rw-r--r--tests/expected/minix/fsck-images-broken-root7
-rw-r--r--tests/expected/minix/fsck-images-bug.7738921
-rw-r--r--tests/expected/minix/fsck-images-check-blocks29
-rw-r--r--tests/expected/minix/fsck-images-check-blocks.BE29
-rw-r--r--tests/expected/minix/fsck-images-v1c1428
-rw-r--r--tests/expected/minix/fsck-images-v1c14.BE28
-rw-r--r--tests/expected/minix/fsck-images-v1c3029
-rw-r--r--tests/expected/minix/fsck-images-v1c30.BE29
-rw-r--r--tests/expected/minix/fsck-images-v2c1429
-rw-r--r--tests/expected/minix/fsck-images-v2c14.BE29
-rw-r--r--tests/expected/minix/fsck-images-v2c3030
-rw-r--r--tests/expected/minix/fsck-images-v2c30.BE30
-rw-r--r--tests/expected/minix/fsck-images-v3c6031
-rw-r--r--tests/expected/minix/fsck-images-v3c60.BE31
-rw-r--r--tests/expected/minix/mkfs-v1c149
-rw-r--r--tests/expected/minix/mkfs-v1c309
-rw-r--r--tests/expected/minix/mkfs-v2c149
-rw-r--r--tests/expected/minix/mkfs-v2c309
-rw-r--r--tests/expected/minix/mkfs-v2i655359
-rw-r--r--tests/expected/minix/mkfs-v3c609
24 files changed, 911 insertions, 0 deletions
diff --git a/tests/expected/minix/fsck b/tests/expected/minix/fsck
new file mode 100644
index 0000000..4d65d12
--- /dev/null
+++ b/tests/expected/minix/fsck
@@ -0,0 +1,370 @@
+#####################################
+$ mkfs.minix image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -n 14 image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=14
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -n 30 image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -n 60 image
+mkfs.minix: unsupported name length: 60
+return mkfs: 8
+#####################################
+$ mkfs.minix -1 image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -1 -n 14 image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=14
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -1 -n 30 image
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1728 inodes
+5120 blocks
+Firstdatazone=58 (58)
+Zonesize=1024
+Maxsize=268966912
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 59 zones used (1%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -1 -n 60 image
+mkfs.minix: unsupported name length: 60
+return mkfs: 8
+#####################################
+$ mkfs.minix -2 image
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 112 zones used (2%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -2 -n 14 image
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+Filesystem state=1
+namelen=14
+
+
+ 1 inodes used (0%)
+ 112 zones used (2%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -2 -n 30 image
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+Filesystem state=1
+namelen=30
+
+
+ 1 inodes used (0%)
+ 112 zones used (2%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -2 -n 60 image
+mkfs.minix: unsupported name length: 60
+return mkfs: 8
+#####################################
+$ mkfs.minix -3 image
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+namelen=60
+
+
+ 1 inodes used (0%)
+ 112 zones used (2%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
+#####################################
+$ mkfs.minix -3 -n 14 image
+mkfs.minix: unsupported name length: 14
+return mkfs: 8
+#####################################
+$ mkfs.minix -3 -n 30 image
+mkfs.minix: unsupported name length: 30
+return mkfs: 8
+#####################################
+$ mkfs.minix -3 -n 60 image
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+
+return mkfs: 0
+$ fsck.minix -lavsf image
+Forcing filesystem check on image.
+1712 inodes
+5120 blocks
+Firstdatazone=111 (111)
+Zonesize=1024
+Maxsize=2147483647
+namelen=60
+
+
+ 1 inodes used (0%)
+ 112 zones used (2%)
+
+ 0 regular files
+ 1 directories
+ 0 character device files
+ 0 block device files
+ 0 links
+ 0 symbolic links
+------
+ 1 files
+return fsck: 0
diff --git a/tests/expected/minix/fsck-images-auto-fix b/tests/expected/minix/fsck-images-auto-fix
new file mode 100644
index 0000000..74a6487
--- /dev/null
+++ b/tests/expected/minix/fsck-images-auto-fix
@@ -0,0 +1,57 @@
+Filesystem auto-fix is dirty, needs checking.
+Read error: bad block in file '/'
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+namelen=60
+
+Read error: bad block in file '/'
+/: bad directory: '.' isn't first
+Read error: bad block in file '/'
+/: bad directory: '..' isn't second
+Inode 1 not used, marked used in the bitmap.
+
+ 0 inodes used (0%)
+ 6 zones used (37%)
+
+ 0 regular files
+ 0 directories
+ 0 character device files
+ 0 block device files
+ 1 links
+ 0 symbolic links
+------
+ 1 files
+----------------------------
+FILE SYSTEM HAS BEEN CHANGED
+----------------------------
+fsck reports changed and uncorrected: 7
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 10 00 00 00 00 00 01 00 01 00 05 00 00 00 00 00 |................|
+00000410 ff ff ff 7f 10 00 00 00 5a 4d 00 00 00 04 00 00 |........ZM......|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 02 00 e8 03 e8 03 80 00 00 00 98 3d b9 55 |.A...........=.U|
+00001010 98 3d b9 55 98 3d b9 55 05 00 00 00 00 00 00 00 |.=.U.=.U........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00001410 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001800 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00001810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001c00 ed 41 02 00 e8 03 e8 03 80 00 00 00 98 3d b9 55 |.A...........=.U|
+00001c10 98 3d b9 55 98 3d b9 55 05 00 00 00 00 00 00 00 |.=.U.=.U........|
+00001c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00002000
diff --git a/tests/expected/minix/fsck-images-badblocks b/tests/expected/minix/fsck-images-badblocks
new file mode 100644
index 0000000..e521e23
--- /dev/null
+++ b/tests/expected/minix/fsck-images-badblocks
@@ -0,0 +1,35 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+2 bad blocks
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 20 00 10 00 01 00 01 00 05 00 00 00 00 1c 08 10 | ...............|
+00000410 8f 13 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 07 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 33 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |3...............|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 00 00 60 00 00 00 34 29 bd 55 00 02 05 00 |.A..`...4).U....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001020 00 80 00 00 00 08 00 00 34 29 bd 55 00 01 08 00 |........4).U....|
+00001030 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001440 02 00 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....|
+00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-badblocks.BE b/tests/expected/minix/fsck-images-badblocks.BE
new file mode 100644
index 0000000..724f4de
--- /dev/null
+++ b/tests/expected/minix/fsck-images-badblocks.BE
@@ -0,0 +1,35 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+2 bad blocks
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 20 00 10 00 01 00 01 00 05 00 00 10 08 1c 00 |. ..............|
+00000410 13 8f 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 07 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 33 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |3...............|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 00 00 00 00 60 55 bd 29 34 00 02 00 05 |A......`U.)4....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001020 80 00 00 00 00 00 08 00 55 bd 29 34 00 01 00 08 |........U.)4....|
+00001030 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001440 00 02 2e 62 61 64 62 6c 6f 63 6b 73 00 00 00 00 |...badblocks....|
+00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-broken-root b/tests/expected/minix/fsck-images-broken-root
new file mode 100644
index 0000000..2c78bdf
--- /dev/null
+++ b/tests/expected/minix/fsck-images-broken-root
@@ -0,0 +1,7 @@
+Read error: bad block in file '/'
+Read error: bad block in file '/'
+/: bad directory: '.' isn't first
+Read error: bad block in file '/'
+/: bad directory: '..' isn't second
+Inode 1 not used, marked used in the bitmap.
+fsck reports uncorrected: 4
diff --git a/tests/expected/minix/fsck-images-bug.773892 b/tests/expected/minix/fsck-images-bug.773892
new file mode 100644
index 0000000..6e22927
--- /dev/null
+++ b/tests/expected/minix/fsck-images-bug.773892
@@ -0,0 +1 @@
+fsck reports uncorrected: 4
diff --git a/tests/expected/minix/fsck-images-check-blocks b/tests/expected/minix/fsck-images-check-blocks
new file mode 100644
index 0000000..fce90fd
--- /dev/null
+++ b/tests/expected/minix/fsck-images-check-blocks
@@ -0,0 +1,29 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 20 00 10 00 01 00 01 00 05 00 00 00 00 1c 08 10 | ...............|
+00000410 8f 13 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 00 00 40 00 00 00 34 29 bd 55 00 02 05 00 |.A..@...4).U....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-check-blocks.BE b/tests/expected/minix/fsck-images-check-blocks.BE
new file mode 100644
index 0000000..8bc29b8
--- /dev/null
+++ b/tests/expected/minix/fsck-images-check-blocks.BE
@@ -0,0 +1,29 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 20 00 10 00 01 00 01 00 05 00 00 10 08 1c 00 |. ..............|
+00000410 13 8f 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 00 00 00 00 40 55 bd 29 34 00 02 00 05 |A......@U.)4....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v1c14 b/tests/expected/minix/fsck-images-v1c14
new file mode 100644
index 0000000..75e3310
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v1c14
@@ -0,0 +1,28 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 20 00 10 00 01 00 01 00 05 00 00 00 00 1c 08 10 | ...............|
+00000410 7f 13 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 00 00 20 00 00 00 34 29 bd 55 00 02 05 00 |.A.. ...4).U....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v1c14.BE b/tests/expected/minix/fsck-images-v1c14.BE
new file mode 100644
index 0000000..5df561c
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v1c14.BE
@@ -0,0 +1,28 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 20 00 10 00 01 00 01 00 05 00 00 10 08 1c 00 |. ..............|
+00000410 13 7f 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 00 00 00 00 20 55 bd 29 34 00 02 00 05 |A...... U.)4....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v1c30 b/tests/expected/minix/fsck-images-v1c30
new file mode 100644
index 0000000..fce90fd
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v1c30
@@ -0,0 +1,29 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 20 00 10 00 01 00 01 00 05 00 00 00 00 1c 08 10 | ...............|
+00000410 8f 13 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 00 00 40 00 00 00 34 29 bd 55 00 02 05 00 |.A..@...4).U....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v1c30.BE b/tests/expected/minix/fsck-images-v1c30.BE
new file mode 100644
index 0000000..8bc29b8
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v1c30.BE
@@ -0,0 +1,29 @@
+32 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 20 00 10 00 01 00 01 00 05 00 00 10 08 1c 00 |. ..............|
+00000410 13 8f 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 00 00 fe ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 00 00 00 00 40 55 bd 29 34 00 02 00 05 |A......@U.)4....|
+00001010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v2c14 b/tests/expected/minix/fsck-images-v2c14
new file mode 100644
index 0000000..e8bc4e3
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v2c14
@@ -0,0 +1,29 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 10 00 00 00 01 00 01 00 05 00 00 00 ff ff ff 7f |................|
+00000410 68 24 01 00 10 00 00 00 00 00 00 00 00 00 00 00 |h$..............|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 02 00 00 00 00 00 20 00 00 00 34 29 bd 55 |.A...... ...4).U|
+00001010 34 29 bd 55 34 29 bd 55 05 00 00 00 00 00 00 00 |4).U4).U........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v2c14.BE b/tests/expected/minix/fsck-images-v2c14.BE
new file mode 100644
index 0000000..8b67386
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v2c14.BE
@@ -0,0 +1,29 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 10 00 00 00 01 00 01 00 05 00 00 7f ff ff ff |................|
+00000410 24 68 00 01 00 00 00 10 00 00 00 00 00 00 00 00 |$h..............|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 02 00 00 00 00 00 00 00 20 55 bd 29 34 |A.......... U.)4|
+00001010 55 bd 29 34 55 bd 29 34 00 00 00 05 00 00 00 00 |U.)4U.)4........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v2c30 b/tests/expected/minix/fsck-images-v2c30
new file mode 100644
index 0000000..0066e49
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v2c30
@@ -0,0 +1,30 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 10 00 00 00 01 00 01 00 05 00 00 00 ff ff ff 7f |................|
+00000410 78 24 01 00 10 00 00 00 00 00 00 00 00 00 00 00 |x$..............|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 02 00 00 00 00 00 40 00 00 00 34 29 bd 55 |.A......@...4).U|
+00001010 34 29 bd 55 34 29 bd 55 05 00 00 00 00 00 00 00 |4).U4).U........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 01 00 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v2c30.BE b/tests/expected/minix/fsck-images-v2c30.BE
new file mode 100644
index 0000000..722d368
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v2c30.BE
@@ -0,0 +1,30 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 10 00 00 00 01 00 01 00 05 00 00 7f ff ff ff |................|
+00000410 24 78 00 01 00 00 00 10 00 00 00 00 00 00 00 00 |$x..............|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 02 00 00 00 00 00 00 00 40 55 bd 29 34 |A..........@U.)4|
+00001010 55 bd 29 34 55 bd 29 34 00 00 00 05 00 00 00 00 |U.)4U.)4........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001420 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v3c60 b/tests/expected/minix/fsck-images-v3c60
new file mode 100644
index 0000000..89ac9c9
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v3c60
@@ -0,0 +1,31 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 10 00 00 00 00 00 01 00 01 00 05 00 00 00 00 00 |................|
+00000410 ff ff ff 7f 10 00 00 00 5a 4d 00 00 00 04 00 00 |........ZM......|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 ed 41 02 00 00 00 00 00 80 00 00 00 34 29 bd 55 |.A..........4).U|
+00001010 34 29 bd 55 34 29 bd 55 05 00 00 00 00 00 00 00 |4).U4).U........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 01 00 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001440 01 00 00 00 2e 2e 00 00 00 00 00 00 00 00 00 00 |................|
+00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/fsck-images-v3c60.BE b/tests/expected/minix/fsck-images-v3c60.BE
new file mode 100644
index 0000000..788c01d
--- /dev/null
+++ b/tests/expected/minix/fsck-images-v3c60.BE
@@ -0,0 +1,31 @@
+16 inodes
+16 blocks
+Firstdatazone=5 (5)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+fsck return value: 0
+00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000400 00 00 00 10 00 00 00 01 00 01 00 05 00 00 00 00 |................|
+00000410 7f ff ff ff 00 00 00 10 4d 5a 00 00 04 00 00 00 |........MZ......|
+00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00000800 03 00 fe ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00000c00 03 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+00000c10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
+*
+00001000 41 ed 00 02 00 00 00 00 00 00 00 80 55 bd 29 34 |A...........U.)4|
+00001010 55 bd 29 34 55 bd 29 34 00 00 00 05 00 00 00 00 |U.)4U.)4........|
+00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001400 00 00 00 01 2e 00 00 00 00 00 00 00 00 00 00 00 |................|
+00001410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00001440 00 00 00 01 2e 2e 00 00 00 00 00 00 00 00 00 00 |................|
+00001450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
+*
+00004000
diff --git a/tests/expected/minix/mkfs-v1c14 b/tests/expected/minix/mkfs-v1c14
new file mode 100644
index 0000000..cd2fa38
--- /dev/null
+++ b/tests/expected/minix/mkfs-v1c14
@@ -0,0 +1,9 @@
+create minix fs -1 -n 14
+3424 inodes
+10224 blocks
+Firstdatazone=112 (112)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+umount the image
diff --git a/tests/expected/minix/mkfs-v1c30 b/tests/expected/minix/mkfs-v1c30
new file mode 100644
index 0000000..bbcc316
--- /dev/null
+++ b/tests/expected/minix/mkfs-v1c30
@@ -0,0 +1,9 @@
+create minix fs -1 -n 30
+3424 inodes
+10224 blocks
+Firstdatazone=112 (112)
+Zonesize=1024
+Maxsize=268966912
+
+mkfs return value: 0
+umount the image
diff --git a/tests/expected/minix/mkfs-v2c14 b/tests/expected/minix/mkfs-v2c14
new file mode 100644
index 0000000..65293b0
--- /dev/null
+++ b/tests/expected/minix/mkfs-v2c14
@@ -0,0 +1,9 @@
+create minix fs -2 -n 14
+3408 inodes
+10224 blocks
+Firstdatazone=218 (218)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+umount the image
diff --git a/tests/expected/minix/mkfs-v2c30 b/tests/expected/minix/mkfs-v2c30
new file mode 100644
index 0000000..bc76d43
--- /dev/null
+++ b/tests/expected/minix/mkfs-v2c30
@@ -0,0 +1,9 @@
+create minix fs -2 -n 30
+3408 inodes
+10224 blocks
+Firstdatazone=218 (218)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+umount the image
diff --git a/tests/expected/minix/mkfs-v2i65535 b/tests/expected/minix/mkfs-v2i65535
new file mode 100644
index 0000000..761a36b
--- /dev/null
+++ b/tests/expected/minix/mkfs-v2i65535
@@ -0,0 +1,9 @@
+create minix fs -2 -i 65535
+65535 inodes
+10224 blocks
+Firstdatazone=4107 (4107)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+umount the image
diff --git a/tests/expected/minix/mkfs-v3c60 b/tests/expected/minix/mkfs-v3c60
new file mode 100644
index 0000000..ef686d9
--- /dev/null
+++ b/tests/expected/minix/mkfs-v3c60
@@ -0,0 +1,9 @@
+create minix fs -3 -n 60
+3408 inodes
+10224 blocks
+Firstdatazone=218 (218)
+Zonesize=1024
+Maxsize=2147483647
+
+mkfs return value: 0
+umount the image