This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 - restore working copy of /sd-ext partition from backup | |
~ # dd if=/sdcard/mmc-good.img of=/dev/block/mmcblk0p2 bs=4096 | |
125000+0 records in | |
125000+0 records out | |
512000000 bytes (488.3MB) copied, 109.406085 seconds, 4.5MB/s | |
#2 - check tune2fs output | |
~ # tune2fs -l /dev/block/mmcblk0p2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2012 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |