diff options
| author | Karel Zak <kzak@redhat.com> | 2013-07-11 16:56:00 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2013-09-16 16:47:07 +0200 |
| commit | b3ac22eff31bb95bd20f903c7cb4756b0edfc220 (patch) | |
| tree | d1ac84a126ac36bc38a77dca0e9c1909e11b8ae3 /fdisks/fdisk.c | |
| parent | 6d9362988ec5117e4fd8efe50eae0ef3c0a2664a (diff) | |
| download | util-linux-b3ac22eff31bb95bd20f903c7cb4756b0edfc220.tar.gz | |
fdisk: move "create label" actions to menu callback
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.c')
| -rw-r--r-- | fdisks/fdisk.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 44c9281c..9fd43485 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -528,12 +528,6 @@ static void command_prompt(struct fdisk_context *cxt) if (fdisk_ask_partnum(cxt, &n, FALSE) == 0) delete_partition(cxt, n); break; - case 'g': - fdisk_create_disklabel(cxt, "gpt"); - break; - case 'G': - fdisk_create_disklabel(cxt, "sgi"); - break; case 'i': if (fdisk_is_disklabel(cxt, SGI)) sgi_create_info(cxt); @@ -546,17 +540,11 @@ static void command_prompt(struct fdisk_context *cxt) case 'n': new_partition(cxt); break; - case 'o': - fdisk_create_disklabel(cxt, "dos"); - break; case 'p': list_table(cxt); break; case 'q': handle_quit(cxt); - case 's': - fdisk_create_disklabel(cxt, "sun"); - break; case 't': change_partition_type(cxt); break; |
