• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_60 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
11debugfs -R "symlink /l_70 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
12debugfs -R "symlink /l_500 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
13debugfs -R "symlink /l_1023 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" test.img
18ext2fs_symlink: Invalid argument passed to ext2 library while creating symlink "l_1500"
19symlink: Invalid argument passed to ext2 library
20debugfs -R "stat /l_30" test.img
21Inode: 12   Type: symlink    Mode:  0777   Flags: 0x0
22Generation: 0    Version: 0x00000000:00000000
23User:     0   Group:     0   Project:     0   Size: 30
24File ACL: 0
25Links: 1   Blockcount: 0
26Fragment:  Address: 0    Number: 0    Size: 0
27Size of extra inode fields: 32
28Fast link dest: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
29debugfs -R "stat /l_60" test.img
30Inode: 13   Type: symlink    Mode:  0777   Flags: 0x10000000
31Generation: 0    Version: 0x00000000:00000000
32User:     0   Group:     0   Project:     0   Size: 60
33File ACL: 0
34Links: 1   Blockcount: 0
35Fragment:  Address: 0    Number: 0    Size: 0
36Size of extra inode fields: 32
37Extended attributes:
38  system.data (0)
39Fast link dest: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
40debugfs -R "stat /l_70" test.img
41Inode: 14   Type: symlink    Mode:  0777   Flags: 0x10000000
42Generation: 0    Version: 0x00000000:00000000
43User:     0   Group:     0   Project:     0   Size: 70
44File ACL: 0
45Links: 1   Blockcount: 0
46Fragment:  Address: 0    Number: 0    Size: 0
47Size of extra inode fields: 32
48Extended attributes:
49  system.data (10)
50Fast link dest: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
51debugfs -R "stat /l_500" test.img
52Inode: 15   Type: symlink    Mode:  0777   Flags: 0x80000
53Generation: 0    Version: 0x00000000:00000000
54User:     0   Group:     0   Project:     0   Size: 500
55File ACL: 0
56Links: 1   Blockcount: 2
57Fragment:  Address: 0    Number: 0    Size: 0
58Size of extra inode fields: 32
59EXTENTS:
60(0):153
61debugfs -R "stat /l_1023" test.img
62Inode: 16   Type: symlink    Mode:  0777   Flags: 0x80000
63Generation: 0    Version: 0x00000000:00000000
64User:     0   Group:     0   Project:     0   Size: 1023
65File ACL: 0
66Links: 1   Blockcount: 2
67Fragment:  Address: 0    Number: 0    Size: 0
68Size of extra inode fields: 32
69EXTENTS:
70(0):154
71debugfs -R "stat /l_1024" test.img
72/l_1024: File not found by ext2_lookup
73debugfs -R "stat /l_1500" test.img
74/l_1500: File not found by ext2_lookup
75Pass 1: Checking inodes, blocks, and sizes
76Pass 2: Checking directory structure
77Pass 3: Checking directory connectivity
78Pass 4: Checking reference counts
79Pass 5: Checking group summary information
80test_filesys: 16/128 files (0.0% non-contiguous), 443/1024 blocks
81Exit status is 0
82