Skip to content

Instantly share code, notes, and snippets.

@klange
Created May 5, 2012 02:33
Show Gist options
  • Save klange/2599193 to your computer and use it in GitHub Desktop.
Save klange/2599193 to your computer and use it in GitHub Desktop.
くそ…
$ e2fsck toaruos-disk.img
e2fsck 1.41.14 (22-Dec-2010)
Filesystem did not have a UUID; generating one.
toaruos-disk.img contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 11 has zero dtime. Fix<y>? yes
Inode 3080, i_size is 1044, should be 2048. Fix<y>? yes
Inode 3080, i_blocks is 3, should be 4. Fix<y>? yes
Pass 2: Checking directory structure
Entry 'test-native' in ??? (3080) has deleted/unused inode 11. Clear<y>? yes
Directory inode 3080, block #1, offset 20: directory corrupted
Salvage<y>? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -22213 -22215
Fix<y>? yes
Free blocks count wrong for group #2 (2361, counted=2363).
Fix<y>? yes
Free blocks count wrong (16705, counted=16707).
Fix<y>? yes
Inode bitmap differences: -11
Fix<y>? yes
Free inodes count wrong for group #0 (245, counted=246).
Fix<y>? yes
Free inodes count wrong (3934, counted=3935).
Fix<y>? yes
toaruos-disk.img: ***** FILE SYSTEM WAS MODIFIED *****
toaruos-disk.img: 161/4096 files (5.0% non-contiguous), 114365/131072 blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment