[maemo-commits] [maemo-commits] r16978 - in projects/haf/trunk/ke-recv: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 16 14:27:28 EET 2008
Author: kihamala
Date: 2008-12-16 14:27:26 +0200 (Tue, 16 Dec 2008)
New Revision: 16978

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/mmc-format.c
Log:
use 128 sectors per cluster


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2008-12-16 12:16:53 UTC (rev 16977)
+++ projects/haf/trunk/ke-recv/debian/changelog	2008-12-16 12:27:26 UTC (rev 16978)
@@ -1,12 +1,13 @@
 ke-recv (3.5-1~unreleased) unstable; urgency=low
 
-  * Fourth partition is now FAT.
+  * Fourth partition is now FAT (fallback is the first partition).
   * Send TERM to pnatd before trying to remove g_nokia.
   * Updated the unofficial partitioning script for internal memory card.
   * Fixed ke-recv-test to provide correct device parameters for rename,
     format and repair messages.
+  * Use 128 sectors per cluster when formatting.
 
- -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Wed, 10 Dec 2008 14:59:10 +0200
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Tue, 16 Dec 2008 14:26:56 +0200
 
 ke-recv (3.4-1) unstable; urgency=low
 

Modified: projects/haf/trunk/ke-recv/src/mmc-format.c
===================================================================
--- projects/haf/trunk/ke-recv/src/mmc-format.c	2008-12-16 12:16:53 UTC (rev 16977)
+++ projects/haf/trunk/ke-recv/src/mmc-format.c	2008-12-16 12:27:26 UTC (rev 16978)
@@ -160,8 +160,13 @@
 {
         int fd, blk_sz, ret;
         char blk_sz_buf[10];
-        const char* args[] = {MMC_FORMAT_COMMAND, NULL, "-n", NULL,
-                              "-S", NULL, "-F", "32", "-R", "38", NULL};
+        const char* args[] = {MMC_FORMAT_COMMAND, NULL,
+                              "-n", NULL,  /* volume label */
+                              "-S", NULL,  /* logical sector size */
+                              "-F", "32",  /* FAT32 */
+                              "-R", "38",  /* reserved sectors */
+                              "-s", "128", /* sectors per cluster */
+                              NULL};
 
         ULOG_DEBUG_F("entered");
 


More information about the maemo-commits mailing list