1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
|
create fs
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr dir_index filetype extent 64bit flex_bg sparse_super huge_file dir_nlink extra_isize metadata_csum
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1024
Block count: 16384
Reserved block count: 819
Overhead clusters: 265
Free blocks: 16065
Free inodes: 1006
First block: 1
Block size: 1024
Fragment size: 1024
Group descriptor size: 64
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 512
Inode blocks per group: 128
Flex block group size: 16
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
Checksum type: crc32c
Group 0: (Blocks 1-8192)
Primary superblock at 1, Group descriptors at 2-2
Block bitmap at 3 (+2)
Inode bitmap at 5 (+4)
Inode table at 7-134 (+6)
7876 free blocks, 494 free inodes, 4 directories, 494 unused inodes
Free blocks: 317-8192
Free inodes: 19-512
Group 1: (Blocks 8193-16383) [INODE_UNINIT]
Backup superblock at 8193, Group descriptors at 8194-8194
Block bitmap at 4 (bg #0 + 3)
Inode bitmap at 6 (bg #0 + 5)
Inode table at 135-262 (bg #0 + 134)
8189 free blocks, 512 free inodes, 0 directories, 512 unused inodes
Free blocks: 8195-16383
Free inodes: 513-1024
debugfs: stat /emptyfile
Inode: III Type: regular
Size: 0
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /bigfile
Inode: III Type: regular
Size: 32768
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /sparsefile
Inode: III Type: regular
Size: 1073741825
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /bigzerofile
Inode: III Type: regular
Size: 1073741825
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /fifo
debugfs: stat /emptydir
Inode: III Type: directory
Size: 1024
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /dir
Inode: III Type: directory
Size: 1024
Fragment: Address: 0 Number: 0 Size: 0
debugfs: stat /dir/file
Inode: III Type: regular
Size: 8
Fragment: Address: 0 Number: 0 Size: 0
debugfs: ex /emptyfile
Level Entries Logical Physical Length Flags
debugfs: ex /bigfile
Level Entries Logical Physical Length Flags
X 0/0 1/1 0-31 AAA-BBB 32
debugfs: ex /sparsefile
Level Entries Logical Physical Length Flags
Y 0/1 1/1 1-1048576 AAA 1048576
X 1/1 1/5 1-1 AAA-BBB 1
X 1/1 2/5 512-512 AAA-BBB 1
X 1/1 3/5 1024-1024 AAA-BBB 1
X 1/1 4/5 524288-524288 AAA-BBB 1
X 1/1 5/5 1048576-1048576 AAA-BBB 1
debugfs: ex /bigzerofile
Level Entries Logical Physical Length Flags
debugfs: ex /dir
Level Entries Logical Physical Length Flags
X 0/0 1/1 0-0 AAA-BBB 1
debugfs: ex /dir/file
Level Entries Logical Physical Length Flags
X 0/0 1/1 0-0 AAA-BBB 1
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.img: 18/1024 files (0.0% non-contiguous), 319/16384 blocks
minify fs
Setting reserved blocks percentage to 0% (0 blocks)
Resizing the filesystem on test.img to 338 (1k) blocks.
The filesystem on test.img is now 338 (1k) blocks long.
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr dir_index filetype extent 64bit flex_bg sparse_super huge_file dir_nlink extra_isize metadata_csum
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 512
Block count: 338
Reserved block count: 0
Free blocks: 151
Free inodes: 494
First block: 1
Block size: 1024
Fragment size: 1024
Group descriptor size: 64
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 512
Inode blocks per group: 128
Flex block group size: 16
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
Checksum type: crc32c
Group 0: (Blocks 1-337)
Primary superblock at 1, Group descriptors at 2-2
Block bitmap at 3 (+2)
Inode bitmap at 5 (+4)
Inode table at 7-134 (+6)
151 free blocks, 494 free inodes, 4 directories, 494 unused inodes
Free blocks: 4, 6, 135-262, 317-337
Free inodes: 19-512
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.img: 18/512 files (0.0% non-contiguous), 187/338 blocks
minify fs (2)
Setting reserved blocks percentage to 0% (0 blocks)
Resizing the filesystem on test.img to 188 (1k) blocks.
The filesystem on test.img is now 188 (1k) blocks long.
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr dir_index filetype extent 64bit flex_bg sparse_super huge_file dir_nlink extra_isize metadata_csum
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 512
Block count: 188
Reserved block count: 0
Free blocks: 1
Free inodes: 494
First block: 1
Block size: 1024
Fragment size: 1024
Group descriptor size: 64
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 512
Inode blocks per group: 128
Flex block group size: 16
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
Checksum type: crc32c
Group 0: (Blocks 1-187)
Primary superblock at 1, Group descriptors at 2-2
Block bitmap at 3 (+2)
Inode bitmap at 5 (+4)
Inode table at 7-134 (+6)
1 free blocks, 494 free inodes, 4 directories, 494 unused inodes
Free blocks: 187
Free inodes: 19-512
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.img: 18/512 files (5.6% non-contiguous), 187/188 blocks
|