friendlier backup names. Remove option to format anything but boot. 1.7.8.4
diff --git a/extendedcommands.c b/extendedcommands.c
index f3ddd00..bc8391f 100644
--- a/extendedcommands.c
+++ b/extendedcommands.c
@@ -399,7 +399,7 @@
 }
 
 #define MOUNTABLE_COUNT 4
-#define MTD_COUNT 4
+#define MTD_COUNT 1
 
 void show_partition_menu()
 {
@@ -417,10 +417,10 @@
         };
         
     string mtds[MTD_COUNT][2] = {
+        { "format boot", "boot" },
         { "format system", "system" },
         { "format data", "data" },
         { "format cache", "cache" },
-        { "format boot", "boot" }
     };
         
     for (;;)
@@ -636,10 +636,19 @@
     {
         case 0:
             {
-                struct timeval tp;
-                gettimeofday(&tp, NULL);
                 char backup_path[PATH_MAX];
-                sprintf(backup_path, "/sdcard/clockworkmod/backup/%d", tp.tv_sec);
+                time_t t = time(NULL);
+                struct tm *tmp = localtime(&t);
+                if (tmp == NULL)
+                {
+                    struct timeval tp;
+                    gettimeofday(&tp, NULL);
+                    sprintf(backup_path, "/sdcard/clockworkmod/backup/%d", tp.tv_sec);
+                }
+                else
+                {
+                    strftime(backup_path, sizeof(backup_path), "/sdcard/clockworkmod/backup/%F.%H.%M.%S", tmp);
+                }
                 nandroid_backup(backup_path);
             }
             break;