From 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:49:25 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- tests/m_mmp/expect.1 | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/m_mmp/script | 8 ++++++ 2 files changed, 87 insertions(+) create mode 100644 tests/m_mmp/expect.1 create mode 100644 tests/m_mmp/script (limited to 'tests/m_mmp') diff --git a/tests/m_mmp/expect.1 b/tests/m_mmp/expect.1 new file mode 100644 index 0000000..0edb97d --- /dev/null +++ b/tests/m_mmp/expect.1 @@ -0,0 +1,79 @@ +Creating filesystem with 65536 4k blocks and 65536 inodes +Superblock backups stored on blocks: + 32768 + +Allocating group tables: done +Writing inode tables: done +Multiple mount protection is enabled with update interval 5 seconds. +Writing superblocks and filesystem accounting information: done + +Filesystem features: ext_attr resize_inode dir_index filetype mmp sparse_super large_file +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 11/65536 files (0.0% non-contiguous), 4141/65536 blocks +Exit status is 0 +Filesystem volume name: +Last mounted on: +Filesystem magic number: 0xEF53 +Filesystem revision #: 1 (dynamic) +Filesystem features: ext_attr resize_inode dir_index filetype mmp sparse_super large_file +Default mount options: (none) +Filesystem state: clean +Errors behavior: Continue +Filesystem OS type: Linux +Inode count: 65536 +Block count: 65536 +Reserved block count: 3276 +Overhead clusters: 4134 +Free blocks: 61395 +Free inodes: 65525 +First block: 0 +Block size: 4096 +Fragment size: 4096 +Reserved GDT blocks: 15 +Blocks per group: 32768 +Fragments per group: 32768 +Inodes per group: 32768 +Inode blocks per group: 2048 +Mount count: 0 +Check interval: 15552000 (6 months) +Reserved blocks uid: 0 +Reserved blocks gid: 0 +First inode: 11 +Inode size: 256 +Required extra isize: 32 +Desired extra isize: 32 +Default directory hash: half_md4 +MMP block number: 2073 +MMP update interval: 5 +MMP_block: + mmp_magic: 0x4d4d50 + mmp_check_interval: 5 + mmp_sequence: 0xff4d4d50 + mmp_update_date: test date + mmp_update_time: test_time + mmp_node_name: test_node + mmp_device_name: test.img + + +Group 0: (Blocks 0-32767) + Primary superblock at 0, Group descriptors at 1-1 + Reserved GDT blocks at 2-16 + Block bitmap at 17 (+17) + Inode bitmap at 18 (+18) + Inode table at 19-2066 (+19) + 30694 free blocks, 32757 free inodes, 2 directories + Free blocks: 2074-32767 + Free inodes: 12-32768 +Group 1: (Blocks 32768-65535) + Backup superblock at 32768, Group descriptors at 32769-32769 + Reserved GDT blocks at 32770-32784 + Block bitmap at 32785 (+17) + Inode bitmap at 32786 (+18) + Inode table at 32787-34834 (+19) + 30701 free blocks, 32768 free inodes, 0 directories + Free blocks: 34835-65535 + Free inodes: 32769-65536 diff --git a/tests/m_mmp/script b/tests/m_mmp/script new file mode 100644 index 0000000..e456183 --- /dev/null +++ b/tests/m_mmp/script @@ -0,0 +1,8 @@ +DESCRIPTION="enable MMP during mke2fs" +FS_SIZE=65536 +MKE2FS_DEVICE_SECTSIZE=2048 +export MKE2FS_DEVICE_SECTSIZE + +MKE2FS_OPTS="-b 4096 -O mmp" +. $cmd_dir/run_mke2fs +unset MKE2FS_DEVICE_SECTSIZE -- cgit v1.2.3