[maemo-commits] [maemo-commits] r16975 - projects/haf/trunk/ke-recv/src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Dec 16 13:50:57 EET 2008
- Previous message: [maemo-commits] r16974 - in projects/haf/trunk/gtk+: . gtk
- Next message: [maemo-commits] r16976 - in projects/haf/trunk/gtk+: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2008-12-16 13:50:56 +0200 (Tue, 16 Dec 2008) New Revision: 16975 Modified: projects/haf/trunk/ke-recv/src/events.c Log: re-mount on e_format handler if we did not repartition Modified: projects/haf/trunk/ke-recv/src/events.c =================================================================== --- projects/haf/trunk/ke-recv/src/events.c 2008-12-16 11:50:07 UTC (rev 16974) +++ projects/haf/trunk/ke-recv/src/events.c 2008-12-16 11:50:56 UTC (rev 16975) @@ -745,7 +745,14 @@ if (ret != 0) { ULOG_INFO_F("format of %s failed, rc=%d", mmc->name, ret); } else { - mmc->skip_banner = TRUE; + /* mount the newly formatted volume if we did not re-partition + * the device; otherwise it is mounted later when the new + * partition table is discovered */ + if (!mmc->control_partitions) { + mount_volumes(mmc); + } else { + mmc->skip_banner = TRUE; + } display_dialog(MSG_FORMATTING_COMPLETE); } }
- Previous message: [maemo-commits] r16974 - in projects/haf/trunk/gtk+: . gtk
- Next message: [maemo-commits] r16976 - in projects/haf/trunk/gtk+: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]