1mke2fs -q -F -o Linux -b 1024 -g 256 -O inline_data,extents -I 256 test.img 1024
2Pass 1: Checking inodes, blocks, and sizes
3Pass 2: Checking directory structure
4Pass 3: Checking directory connectivity
5Pass 4: Checking reference counts
6Pass 5: Checking group summary information
7test_filesys: 11/128 files (0.0% non-contiguous), 441/1024 blocks
8Exit status is 0
9debugfs -R "symlink /l_30 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
10debugfs -R "symlink /l_70 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
11debugfs -R "symlink /l_500 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
12debugfs -R "symlink /l_1023 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
17ext2fs_symlink: Invalid argument passed to ext2 library while creating symlink "l_1500"
18symlink: Invalid argument passed to ext2 library
19debugfs -R "stat /l_30" test.img
20Inode: 12   Type: symlink    Mode:  0777   Flags: 0x0
21Generation: 0    Version: 0x00000000:00000000
22User:     0   Group:     0   Project:     0   Size: 31
23File ACL: 0    Directory ACL: 0
24Links: 1   Blockcount: 0
25Fragment:  Address: 0    Number: 0    Size: 0
26Size of extra inode fields: 32
27Fast link dest: "/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
28debugfs -R "stat /l_70" test.img
29Inode: 13   Type: symlink    Mode:  0777   Flags: 0x10000000
30Generation: 0    Version: 0x00000000:00000000
31User:     0   Group:     0   Project:     0   Size: 71
32File ACL: 0    Directory ACL: 0
33Links: 1   Blockcount: 0
34Fragment:  Address: 0    Number: 0    Size: 0
35Size of extra inode fields: 32
36Extended attributes:
37  system.data (11)
38Fast link dest: "/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
39debugfs -R "stat /l_500" test.img
40Inode: 14   Type: symlink    Mode:  0777   Flags: 0x80000
41Generation: 0    Version: 0x00000000:00000000
42User:     0   Group:     0   Project:     0   Size: 501
43File ACL: 0    Directory ACL: 0
44Links: 1   Blockcount: 2
45Fragment:  Address: 0    Number: 0    Size: 0
46Size of extra inode fields: 32
47EXTENTS:
48(0):153
49debugfs -R "stat /l_1023" test.img
50Inode: 15   Type: symlink    Mode:  0777   Flags: 0x80000
51Generation: 0    Version: 0x00000000:00000000
52User:     0   Group:     0   Project:     0   Size: 1024
53File ACL: 0    Directory ACL: 0
54Links: 1   Blockcount: 2
55Fragment:  Address: 0    Number: 0    Size: 0
56Size of extra inode fields: 32
57EXTENTS:
58(0):154
59debugfs -R "stat /l_1024" test.img
60/l_1024: File not found by ext2_lookup
61debugfs -R "stat /l_1500" test.img
62/l_1500: File not found by ext2_lookup
63Pass 1: Checking inodes, blocks, and sizes
64Pass 2: Checking directory structure
65Pass 3: Checking directory connectivity
66Pass 4: Checking reference counts
67Pass 5: Checking group summary information
68test_filesys: 15/128 files (0.0% non-contiguous), 443/1024 blocks
69Exit status is 0
70