From: <ow...@us...> - 2009-02-22 16:20:13
|
Revision: 2523 http://ipcop.svn.sourceforge.net/ipcop/?rev=2523&view=rev Author: owes Date: 2009-02-22 16:20:08 +0000 (Sun, 22 Feb 2009) Log Message: ----------- No longer needed with working nodma install parameter. Modified Paths: -------------- ipcop/trunk/src/installer/partition.c Modified: ipcop/trunk/src/installer/partition.c =================================================================== --- ipcop/trunk/src/installer/partition.c 2009-02-22 13:04:49 UTC (rev 2522) +++ ipcop/trunk/src/installer/partition.c 2009-02-22 16:20:08 UTC (rev 2523) @@ -349,12 +349,11 @@ statuswindow(72, 5, ipcop_gettext("TR_TITLE_DISK"), ipcop_gettext("TR_MAKING_PARTITIONS")); - if (medium_target != flash) { - /* OWES: this may just be a crappy CF card/adapter on my side, but ped_device_get fails after this */ - snprintf(command, STRING_SIZE, "/bin/dd if=/dev/zero of=%s bs=512 count=1", device); - mysystem(command); - mysystem("/bin/sync"); - } + /* OWES: ped_device_get fails after this on some CF card/adapter. + Using nodma install parameter helps. */ + snprintf(command, STRING_SIZE, "/bin/dd if=/dev/zero of=%s bs=512 count=1", device); + mysystem(command); + mysystem("/bin/sync"); ped_dev = ped_device_get(device); if (!ped_dev) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |