Skip to content

Instantly share code, notes, and snippets.

@lurdan
Created February 1, 2013 12:26
Show Gist options
  • Save lurdan/4691023 to your computer and use it in GitHub Desktop.
Save lurdan/4691023 to your computer and use it in GitHub Desktop.
#!/bin/sh
DEV=$1
fsck.ext3 -pf $DEV && tune2fs -O extents,uninit_bg,dir_index,flex_bg -m 1 $DEV && fsck.ext4 -yfD $DEV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment