commit | 5112731666070037ac8ed78dfdad57a11bd4cb6d | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Sat Sep 08 13:08:49 2012 -0400 |
committer | Dees_Troy <dees_troy@teamw.in> | Mon Sep 10 11:33:29 2012 -0400 |
tree | d25fe6ae32a6ab56025a3e73851d10dac953d1f2 | |
parent | 5bf439221d081eb1853c8958405b76eca190129e [diff] [blame] |
Improve storage size code, mount, unmount Add flag parsing from recovery.fstab
diff --git a/roots.cpp b/roots.cpp index 3bd6801..e747473 100644 --- a/roots.cpp +++ b/roots.cpp
@@ -40,7 +40,8 @@ while ((option = strtok(options, ","))) { options = NULL; - if (strncmp(option, "length=", 7) == 0) { + if (strncmp(option, "flags=", 6) == 0) continue; + if (strncmp(option, "length=", 7) == 0) { volume->length = strtoll(option+7, NULL, 10); } else { LOGE("bad option \"%s\"\n", option);