summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.c
diff options
context:
space:
mode:
authorKarel Zak2013-07-10 14:54:25 +0200
committerKarel Zak2013-09-16 16:47:06 +0200
commitb529ea2abc1ef432a55e0af4560c4fb85e05c53d (patch)
treec18e174c726a475e165175885a90053a558df3ec /fdisks/fdisk.c
parentfdisk: (bsd) remove generic actions from bsd_command_prompt() (diff)
downloadkernel-qcow2-util-linux-b529ea2abc1ef432a55e0af4560c4fb85e05c53d.tar.gz
kernel-qcow2-util-linux-b529ea2abc1ef432a55e0af4560c4fb85e05c53d.tar.xz
kernel-qcow2-util-linux-b529ea2abc1ef432a55e0af4560c4fb85e05c53d.zip
fdisk: (bsd) implement regular bsd menu callback
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.c')
-rw-r--r--fdisks/fdisk.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index 4bae23755..34db0a1b1 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -500,18 +500,6 @@ static void command_prompt(struct fdisk_context *cxt)
assert(cxt);
- if (fdisk_is_disklabel(cxt, OSF)) {
- putchar('\n');
- /* OSF label, and no DOS label */
- printf(_("Detected an OSF/1 disklabel on %s, entering "
- "disklabel mode.\n"),
- cxt->dev_path);
- bsd_command_prompt(cxt);
-
- /* If we return we may want to make an empty DOS label? */
- fdisk_context_switch_label(cxt, "dos");
- }
-
while (1) {
assert(cxt->label);