xref: /aosp_15_r20/external/e2fsprogs/tests/t_dangerous/expect (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Workertune2fs dangerous prompts test
2*6a54128fSAndroid Build Coastguard WorkerCreating filesystem with 524288 1k blocks and 65536 inodes
3*6a54128fSAndroid Build Coastguard WorkerSuperblock backups stored on blocks:
4*6a54128fSAndroid Build Coastguard Worker	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
5*6a54128fSAndroid Build Coastguard Worker
6*6a54128fSAndroid Build Coastguard WorkerAllocating group tables:      done
7*6a54128fSAndroid Build Coastguard WorkerWriting inode tables:      done
8*6a54128fSAndroid Build Coastguard WorkerCreating journal (16384 blocks): done
9*6a54128fSAndroid Build Coastguard WorkerCreating 445 huge file(s) with 1024 blocks each: done
10*6a54128fSAndroid Build Coastguard WorkerWriting superblocks and filesystem accounting information:      done
11*6a54128fSAndroid Build Coastguard Worker
12*6a54128fSAndroid Build Coastguard Workertune2fs -O metadata_csum test.img
13*6a54128fSAndroid Build Coastguard Worker
14*6a54128fSAndroid Build Coastguard WorkerThis operation requires a freshly checked filesystem.
15*6a54128fSAndroid Build Coastguard Worker
16*6a54128fSAndroid Build Coastguard WorkerPlease run e2fsck -f on the filesystem.
17*6a54128fSAndroid Build Coastguard Worker
18*6a54128fSAndroid Build Coastguard WorkerExit status is 1
19*6a54128fSAndroid Build Coastguard Workertune2fs -O metadata_csum test.img
20*6a54128fSAndroid Build Coastguard WorkerExit status is 0
21*6a54128fSAndroid Build Coastguard WorkerCreating filesystem with 524288 1k blocks and 65536 inodes
22*6a54128fSAndroid Build Coastguard WorkerSuperblock backups stored on blocks:
23*6a54128fSAndroid Build Coastguard Worker	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
24*6a54128fSAndroid Build Coastguard Worker
25*6a54128fSAndroid Build Coastguard WorkerAllocating group tables:      done
26*6a54128fSAndroid Build Coastguard WorkerWriting inode tables:      done
27*6a54128fSAndroid Build Coastguard WorkerCreating journal (16384 blocks): done
28*6a54128fSAndroid Build Coastguard WorkerCreating 445 huge file(s) with 1024 blocks each: done
29*6a54128fSAndroid Build Coastguard WorkerWriting superblocks and filesystem accounting information:      done
30*6a54128fSAndroid Build Coastguard Worker
31*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
32*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
33*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
34*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
35*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
36*6a54128fSAndroid Build Coastguard Worker
37*6a54128fSAndroid Build Coastguard WorkerExit status is 0
38*6a54128fSAndroid Build Coastguard Workertune2fs -O metadata_csum test.img
39*6a54128fSAndroid Build Coastguard WorkerEnabling checksums could take some time.
40*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N)
41*6a54128fSAndroid Build Coastguard WorkerExit status is 1
42*6a54128fSAndroid Build Coastguard Workertune2fs -I 512 test.img
43*6a54128fSAndroid Build Coastguard WorkerResizing inodes could take some time.
44*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N)
45*6a54128fSAndroid Build Coastguard WorkerExit status is 1
46*6a54128fSAndroid Build Coastguard Worker
47*6a54128fSAndroid Build Coastguard WorkerChange in FS metadata:
48*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
49*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
50*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
51*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
52*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
53*6a54128fSAndroid Build Coastguard Worker
54*6a54128fSAndroid Build Coastguard WorkerExit status is 0
55*6a54128fSAndroid Build Coastguard Workertune2fs -O metadata_csum test.img
56*6a54128fSAndroid Build Coastguard WorkerEnabling checksums could take some time.
57*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N)
58*6a54128fSAndroid Build Coastguard WorkerThis operation requires a freshly checked filesystem.
59*6a54128fSAndroid Build Coastguard Worker
60*6a54128fSAndroid Build Coastguard WorkerPlease run e2fsck -fD on the filesystem.
61*6a54128fSAndroid Build Coastguard Worker
62*6a54128fSAndroid Build Coastguard WorkerExit status is 0
63*6a54128fSAndroid Build Coastguard Workertest_filesys was not cleanly unmounted, check forced.
64*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
65*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
66*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
67*6a54128fSAndroid Build Coastguard WorkerPass 3A: Optimizing directories
68*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
69*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
70*6a54128fSAndroid Build Coastguard Worker
71*6a54128fSAndroid Build Coastguard Worker
72*6a54128fSAndroid Build Coastguard Worker
73*6a54128fSAndroid Build Coastguard Workertune2fs -I 512 test.img
74*6a54128fSAndroid Build Coastguard WorkerResizing inodes could take some time.
75*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N) Setting inode size 512
76*6a54128fSAndroid Build Coastguard WorkerExit status is 0
77*6a54128fSAndroid Build Coastguard Workertune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img
78*6a54128fSAndroid Build Coastguard WorkerSetting the UUID on this filesystem could take some time.
79*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N) Exit status is 0
80*6a54128fSAndroid Build Coastguard WorkerBacking up journal inode block information.
81*6a54128fSAndroid Build Coastguard Worker
82*6a54128fSAndroid Build Coastguard Worker
83*6a54128fSAndroid Build Coastguard WorkerChange in FS metadata:
84*6a54128fSAndroid Build Coastguard Worker@@ -1,3 +1,3 @@
85*6a54128fSAndroid Build Coastguard Worker-Filesystem UUID:          6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf
86*6a54128fSAndroid Build Coastguard Worker-Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent 64bit sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
87*6a54128fSAndroid Build Coastguard Worker-Inode size:	          256
88*6a54128fSAndroid Build Coastguard Worker+Filesystem UUID:          f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0
89*6a54128fSAndroid Build Coastguard Worker+Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent 64bit sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
90*6a54128fSAndroid Build Coastguard Worker+Inode size:	          512
91*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
92*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
93*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
94*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
95*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
96*6a54128fSAndroid Build Coastguard Worker
97*6a54128fSAndroid Build Coastguard WorkerExit status is 0
98*6a54128fSAndroid Build Coastguard Worker
99*6a54128fSAndroid Build Coastguard WorkerTesting with metadata checksum enabled
100*6a54128fSAndroid Build Coastguard WorkerCreating filesystem with 524288 1k blocks and 65536 inodes
101*6a54128fSAndroid Build Coastguard WorkerSuperblock backups stored on blocks:
102*6a54128fSAndroid Build Coastguard Worker	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
103*6a54128fSAndroid Build Coastguard Worker
104*6a54128fSAndroid Build Coastguard WorkerAllocating group tables:      done
105*6a54128fSAndroid Build Coastguard WorkerWriting inode tables:      done
106*6a54128fSAndroid Build Coastguard WorkerCreating journal (16384 blocks): done
107*6a54128fSAndroid Build Coastguard WorkerCreating 445 huge file(s) with 1024 blocks each: done
108*6a54128fSAndroid Build Coastguard WorkerWriting superblocks and filesystem accounting information:      done
109*6a54128fSAndroid Build Coastguard Worker
110*6a54128fSAndroid Build Coastguard WorkerPass 1: Checking inodes, blocks, and sizes
111*6a54128fSAndroid Build Coastguard WorkerPass 2: Checking directory structure
112*6a54128fSAndroid Build Coastguard WorkerPass 3: Checking directory connectivity
113*6a54128fSAndroid Build Coastguard WorkerPass 4: Checking reference counts
114*6a54128fSAndroid Build Coastguard WorkerPass 5: Checking group summary information
115*6a54128fSAndroid Build Coastguard Worker
116*6a54128fSAndroid Build Coastguard WorkerExit status is 0
117*6a54128fSAndroid Build Coastguard Workertune2fs -U random test.img
118*6a54128fSAndroid Build Coastguard WorkerSetting the UUID on this filesystem could take some time.
119*6a54128fSAndroid Build Coastguard WorkerProceed anyway (or wait 5 seconds to proceed) ? (y,N)
120*6a54128fSAndroid Build Coastguard WorkerExit status is 1
121