Revert part of my previous commit which was removing too much.
authorSascha Wildner <swildner@dragonflybsd.org>
Sun, 28 Sep 2008 18:05:26 +0000 (18:05 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sun, 28 Sep 2008 18:05:26 +0000 (18:05 +0000)
contrib/bsdinstaller-1.1.6/src/backend/installer/fn_disk.c

index 53219ea..145de13 100644 (file)
@@ -208,6 +208,9 @@ fn_format_disk(struct i_fn_args *a)
                 */
                command_add_ensure_dev(a, cmds,
                    disk_get_device_name(storage_get_selected_disk(a->s)));
+               command_add(cmds, "%s%s -BI %s",
+                   a->os_root, cmd_name(a, "FDISK"),
+                   disk_get_raw_device_name(storage_get_selected_disk(a->s)));
 
                if (!commands_execute(a, cmds)) {
                        inform(a->c, _("The disk\n\n%s\n\nwas "