]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
11 years agolibfdisk: (gpt) more robust PMBR partition size check
Karel Zak [Mon, 2 Sep 2013 11:15:09 +0000 (13:15 +0200)] 
libfdisk: (gpt) more robust PMBR partition size check

According UEFI specification at least one (does not mean that the
first) partition is 0xFF, it makes sense to check the size of the
partition rather than check the first partition.

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: add -L to colorize output
Karel Zak [Mon, 2 Sep 2013 08:54:30 +0000 (10:54 +0200)] 
fdisk: add -L to colorize output

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: improve info output
Karel Zak [Fri, 30 Aug 2013 14:12:16 +0000 (16:12 +0200)] 
fdisk: improve info output

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: use fdisk_info() to print geometry
Karel Zak [Fri, 30 Aug 2013 13:47:50 +0000 (15:47 +0200)] 
fdisk: use fdisk_info() to print geometry

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: -l refactoring
Karel Zak [Fri, 30 Aug 2013 13:20:01 +0000 (15:20 +0200)] 
fdisk: -l refactoring

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: mark -s option as deprecated
Karel Zak [Fri, 30 Aug 2013 11:34:16 +0000 (13:34 +0200)] 
fdisk: mark -s option as deprecated

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: main() refactoring
Karel Zak [Fri, 30 Aug 2013 11:26:24 +0000 (13:26 +0200)] 
fdisk: main() refactoring

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: add fdisk_has_user_device_properties()
Karel Zak [Fri, 30 Aug 2013 11:06:15 +0000 (13:06 +0200)] 
libfdisk: add fdisk_has_user_device_properties()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup header file
Karel Zak [Fri, 30 Aug 2013 08:46:37 +0000 (10:46 +0200)] 
fdisk: cleanup header file

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: provide more details about GPT
Karel Zak [Fri, 12 Jul 2013 10:35:16 +0000 (12:35 +0200)] 
libfdisk: provide more details about GPT

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: move sync() and reread PT code from fdisk to libfdisk
Karel Zak [Fri, 12 Jul 2013 09:57:44 +0000 (11:57 +0200)] 
libfdisk: move sync() and reread PT code from fdisk to libfdisk

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup write table code
Karel Zak [Fri, 12 Jul 2013 09:38:05 +0000 (11:38 +0200)] 
fdisk: cleanup write table code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move remaining actions to menu callbacks
Karel Zak [Fri, 12 Jul 2013 09:31:12 +0000 (11:31 +0200)] 
fdisk: move remaining actions to menu callbacks

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move expect actions to menu callback
Karel Zak [Fri, 12 Jul 2013 08:44:35 +0000 (10:44 +0200)] 
fdisk: move expect actions to menu callback

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: consolidate code in fdisk.c
Karel Zak [Thu, 11 Jul 2013 16:03:54 +0000 (18:03 +0200)] 
fdisk: consolidate code in fdisk.c

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: cleanup SGI functions names
Karel Zak [Thu, 11 Jul 2013 15:38:13 +0000 (17:38 +0200)] 
libfdisk: cleanup SGI functions names

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup sgi menu callbackswq
Karel Zak [Thu, 11 Jul 2013 15:08:45 +0000 (17:08 +0200)] 
fdisk: cleanup sgi menu callbackswq

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move "create label" actions to menu callback
Karel Zak [Thu, 11 Jul 2013 14:56:00 +0000 (16:56 +0200)] 
fdisk: move "create label" actions to menu callback

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: remove common.h
Karel Zak [Wed, 10 Jul 2013 15:39:22 +0000 (17:39 +0200)] 
fdisk: remove common.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: explicitly add COPYING file
Karel Zak [Wed, 10 Jul 2013 15:33:09 +0000 (17:33 +0200)] 
libfdisk: explicitly add COPYING file

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: add bsd driver
Karel Zak [Wed, 10 Jul 2013 15:30:08 +0000 (17:30 +0200)] 
libfdisk: add bsd driver

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) final code clean up
Karel Zak [Wed, 10 Jul 2013 15:10:58 +0000 (17:10 +0200)] 
fdisk: (bsd) final code clean up

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) remove xbsd_ prefix
Karel Zak [Wed, 10 Jul 2013 15:08:37 +0000 (17:08 +0200)] 
fdisk: (bsd) remove xbsd_ prefix

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) minor code clean up
Karel Zak [Wed, 10 Jul 2013 15:07:40 +0000 (17:07 +0200)] 
fdisk: (bsd) minor code clean up

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) rewrite list disklabel function
Karel Zak [Wed, 10 Jul 2013 15:00:11 +0000 (17:00 +0200)] 
fdisk: (bsd) rewrite list disklabel function

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) coding style, remove unnecessary #ifdef
Karel Zak [Wed, 10 Jul 2013 13:35:27 +0000 (15:35 +0200)] 
fdisk: (bsd) coding style, remove unnecessary #ifdef

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) fix add/link partition
Karel Zak [Wed, 10 Jul 2013 13:30:49 +0000 (15:30 +0200)] 
fdisk: (bsd) fix add/link partition

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) remove dead code
Karel Zak [Wed, 10 Jul 2013 13:12:10 +0000 (15:12 +0200)] 
fdisk: (bsd) remove dead code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) *OSF --> *BSD
Karel Zak [Wed, 10 Jul 2013 12:59:49 +0000 (14:59 +0200)] 
fdisk: (bsd) *OSF --> *BSD

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) implement regular bsd menu callback
Karel Zak [Wed, 10 Jul 2013 12:54:25 +0000 (14:54 +0200)] 
fdisk: (bsd) implement regular bsd menu callback

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) remove generic actions from bsd_command_prompt()
Karel Zak [Wed, 10 Jul 2013 12:31:02 +0000 (14:31 +0200)] 
fdisk: (bsd) remove generic actions from bsd_command_prompt()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: allow to exchange context pointer in menu callbacks
Karel Zak [Wed, 10 Jul 2013 12:17:58 +0000 (14:17 +0200)] 
fdisk: allow to exchange context pointer in menu callbacks

... to make it possible to switch to nested contexts (nested partition
tables).

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) remove printf() from the driver code
Karel Zak [Wed, 10 Jul 2013 11:12:05 +0000 (13:12 +0200)] 
fdisk: (bsd) remove printf() from the driver code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) move bsdbuffer to fdisk_bsd_label struct
Karel Zak [Wed, 10 Jul 2013 11:01:24 +0000 (13:01 +0200)] 
fdisk: (bsd) move bsdbuffer to fdisk_bsd_label struct

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) move global label variables to fdisk_bsd_label struct
Karel Zak [Wed, 10 Jul 2013 10:24:53 +0000 (12:24 +0200)] 
fdisk: (bsd) move global label variables to fdisk_bsd_label struct

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) write/read PT code cleanup
Karel Zak [Fri, 28 Jun 2013 09:37:54 +0000 (11:37 +0200)] 
fdisk: (bsd) write/read PT code cleanup

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibblkid: fix kboff usage in BSD prober
Karel Zak [Fri, 28 Jun 2013 08:16:06 +0000 (10:16 +0200)] 
libblkid: fix kboff usage in BSD prober

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) add bsd_get_partition_status()
Karel Zak [Thu, 27 Jun 2013 12:21:43 +0000 (14:21 +0200)] 
fdisk: (bsd) add bsd_get_partition_status()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: ask for partition in chars
Karel Zak [Thu, 27 Jun 2013 12:21:07 +0000 (14:21 +0200)] 
fdisk: ask for partition in chars

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: allow to address partition by chars
Karel Zak [Thu, 27 Jun 2013 12:18:57 +0000 (14:18 +0200)] 
libfdisk: allow to address partition by chars

For example BSD uses letters rather tahn numbers to address partition,
the fist partition is 'a', last partition is 'p'.

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: improve menus to make it more usable for BSD label
Karel Zak [Thu, 27 Jun 2013 09:26:00 +0000 (11:26 +0200)] 
fdisk: improve menus to make it more usable for BSD label

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) cleanup driver initialization
Karel Zak [Thu, 27 Jun 2013 08:54:19 +0000 (10:54 +0200)] 
fdisk: (bsd) cleanup driver initialization

 - assume DOS partition only for nested BSD (cxt->parent is set)
 - don't create BSD label in label probe function, require
   fdisk_create_disklabel() call

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: improve nested context initialization
Karel Zak [Thu, 27 Jun 2013 08:52:34 +0000 (10:52 +0200)] 
libfdisk: improve nested context initialization

 - all label prober() function in fdisk_new_nested_context()
 - don't reset device properties for nested contexts

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: (dos) cosmetic changes
Karel Zak [Wed, 26 Jun 2013 11:29:50 +0000 (13:29 +0200)] 
libfdisk: (dos) cosmetic changes

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) clean up header file
Karel Zak [Wed, 26 Jun 2013 11:18:50 +0000 (13:18 +0200)] 
fdisk: (bsd) clean up header file

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) use macros from pt-mbr.h
Karel Zak [Wed, 26 Jun 2013 09:46:09 +0000 (11:46 +0200)] 
fdisk: (bsd) use macros from pt-mbr.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) use pt-bsd.h
Karel Zak [Wed, 26 Jun 2013 09:32:19 +0000 (11:32 +0200)] 
fdisk: (bsd) use pt-bsd.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibblkid: move bsd definitions to pt-bsd.h
Karel Zak [Wed, 26 Jun 2013 09:32:06 +0000 (11:32 +0200)] 
libblkid: move bsd definitions to pt-bsd.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) clean up BSD_LABEL* macros
Karel Zak [Wed, 26 Jun 2013 09:11:59 +0000 (11:11 +0200)] 
fdisk: (bsd) clean up BSD_LABEL* macros

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: move mbr code to the library
Karel Zak [Wed, 26 Jun 2013 08:21:31 +0000 (10:21 +0200)] 
libfdisk: move mbr code to the library

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) use libfdisk to ask for partition type
Karel Zak [Wed, 26 Jun 2013 06:54:01 +0000 (08:54 +0200)] 
fdisk: (dos) use libfdisk to ask for partition type

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup warning messages
Karel Zak [Tue, 25 Jun 2013 14:57:56 +0000 (16:57 +0200)] 
fdisk: cleanup warning messages

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: remove nowarn global variable
Karel Zak [Tue, 25 Jun 2013 14:40:01 +0000 (16:40 +0200)] 
fdisk: remove nowarn global variable

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) cleanup public function names
Karel Zak [Tue, 25 Jun 2013 14:22:51 +0000 (16:22 +0200)] 
fdisk: (dos) cleanup public function names

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove unnecessary header file stuff
Karel Zak [Tue, 25 Jun 2013 14:14:23 +0000 (16:14 +0200)] 
fdisk: (dos) remove unnecessary header file stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup header file
Karel Zak [Tue, 25 Jun 2013 13:58:36 +0000 (15:58 +0200)] 
fdisk: cleanup header file

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) add dos menu callback
Karel Zak [Tue, 25 Jun 2013 13:55:02 +0000 (15:55 +0200)] 
fdisk: (dos) add dos menu callback

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: add generic function to set disklabel ID
Karel Zak [Tue, 25 Jun 2013 13:31:21 +0000 (15:31 +0200)] 
libfdisk: add generic function to set disklabel ID

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: add generic function to get disklabel ID
Karel Zak [Tue, 25 Jun 2013 12:40:34 +0000 (14:40 +0200)] 
libfdisk: add generic function to get disklabel ID

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (gpt) enlarge columns in list output
Karel Zak [Tue, 25 Jun 2013 12:08:02 +0000 (14:08 +0200)] 
fdisk: (gpt) enlarge columns in list output

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove remaining printf() usage
Karel Zak [Tue, 25 Jun 2013 11:15:09 +0000 (13:15 +0200)] 
fdisk: (dos) remove remaining printf() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) clean up list PT functions
Karel Zak [Tue, 25 Jun 2013 11:06:55 +0000 (13:06 +0200)] 
fdisk: (dos) clean up list PT functions

 - use tt.c to list partitions
 - list extended partitions in expert mode

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) fix possible mem-leaks
Karel Zak [Fri, 21 Jun 2013 11:11:59 +0000 (13:11 +0200)] 
fdisk: (dos) fix possible mem-leaks

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) move macro is_dos_compatible()
Karel Zak [Fri, 21 Jun 2013 10:45:30 +0000 (12:45 +0200)] 
fdisk: (dos) move macro is_dos_compatible()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove remaining global variables
Karel Zak [Fri, 21 Jun 2013 10:44:03 +0000 (12:44 +0200)] 
fdisk: (dos) remove remaining global variables

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove global variables for extended partitions
Karel Zak [Fri, 21 Jun 2013 10:37:14 +0000 (12:37 +0200)] 
fdisk: (dos) remove global variables for extended partitions

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) don't check for CHS in move-begin command
Karel Zak [Thu, 20 Jun 2013 09:36:25 +0000 (11:36 +0200)] 
fdisk: (dos) don't check for CHS in move-begin command

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove global ptes[]
Karel Zak [Thu, 20 Jun 2013 09:30:39 +0000 (11:30 +0200)] 
fdisk: (dos) remove global ptes[]

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: add mbr_get_partition()
Karel Zak [Wed, 19 Jun 2013 13:42:47 +0000 (15:42 +0200)] 
fdisk: add mbr_get_partition()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove inline function from header file
Karel Zak [Wed, 19 Jun 2013 12:42:45 +0000 (14:42 +0200)] 
fdisk: (dos) remove inline function from header file

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove unnecessary function
Karel Zak [Wed, 19 Jun 2013 12:39:40 +0000 (14:39 +0200)] 
fdisk: (dos) remove unnecessary function

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) move pte specific function to dos.c
Karel Zak [Wed, 19 Jun 2013 12:36:59 +0000 (14:36 +0200)] 
fdisk: (dos) move pte specific function to dos.c

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: use functions from pt-mbr.h
Karel Zak [Wed, 19 Jun 2013 12:32:48 +0000 (14:32 +0200)] 
fdisk: use functions from pt-mbr.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) use pt-mbr.h
Karel Zak [Tue, 18 Jun 2013 13:27:24 +0000 (15:27 +0200)] 
fdisk: (dos) use pt-mbr.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: rename CHS dos_partition struct members
Karel Zak [Tue, 18 Jun 2013 13:22:31 +0000 (15:22 +0200)] 
fdisk: rename CHS dos_partition struct members

 ... to make the code more compatible with include/pt-mbr.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibblkid: rename sys_type to sys_ind
Karel Zak [Tue, 18 Jun 2013 13:11:57 +0000 (15:11 +0200)] 
libblkid: rename sys_type to sys_ind

This makes struct dos_partition more compatible with the current fdisk
code.

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agoinclude/pt-mbr: add functio to store le
Karel Zak [Tue, 18 Jun 2013 13:06:48 +0000 (15:06 +0200)] 
include/pt-mbr: add functio to store le

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibblkid: move MBR definitions to include/pt-mbr.h
Karel Zak [Tue, 18 Jun 2013 13:03:26 +0000 (15:03 +0200)] 
libblkid: move MBR definitions to include/pt-mbr.h

11 years agofdisk: (dos) rename struct partition to dos_partition
Karel Zak [Tue, 18 Jun 2013 12:52:25 +0000 (14:52 +0200)] 
fdisk: (dos) rename struct partition to dos_partition

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) rename members in struct pte
Karel Zak [Tue, 18 Jun 2013 12:45:01 +0000 (14:45 +0200)] 
fdisk: (dos) rename members in struct pte

... to make it more readable.

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move dos specific code
Karel Zak [Fri, 14 Jun 2013 13:56:55 +0000 (15:56 +0200)] 
fdisk: move dos specific code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: remove dead code
Karel Zak [Fri, 14 Jun 2013 13:49:05 +0000 (15:49 +0200)] 
fdisk: remove dead code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup warnings
Karel Zak [Fri, 14 Jun 2013 13:17:45 +0000 (15:17 +0200)] 
fdisk: cleanup warnings

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: add FDISK_LABEL_FL_REQUIRE_GEOMETRY
Karel Zak [Fri, 14 Jun 2013 12:33:51 +0000 (14:33 +0200)] 
libfdisk: add FDISK_LABEL_FL_REQUIRE_GEOMETRY

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move remaining ptes[] code to fdiskdoslabel.c
Karel Zak [Wed, 12 Jun 2013 15:47:49 +0000 (17:47 +0200)] 
fdisk: move remaining ptes[] code to fdiskdoslabel.c

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: cleanup usage()
Karel Zak [Wed, 12 Jun 2013 15:28:26 +0000 (17:28 +0200)] 
fdisk: cleanup usage()

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: move get_nr_sects() fdisk.h
Karel Zak [Wed, 12 Jun 2013 15:16:39 +0000 (17:16 +0200)] 
fdisk: move get_nr_sects() fdisk.h

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: remove old code to ask user
Karel Zak [Wed, 12 Jun 2013 15:10:42 +0000 (17:10 +0200)] 
fdisk: remove old code to ask user

Old code has been broken by design:

 * use global variables
 * fixed buffer size
 * useless within libfdisk

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: use libfdisk to ask for partition type
Karel Zak [Wed, 12 Jun 2013 15:09:28 +0000 (17:09 +0200)] 
fdisk: use  libfdisk to ask for partition type

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) use libfdisk for partition number dialog
Karel Zak [Wed, 12 Jun 2013 11:41:44 +0000 (13:41 +0200)] 
fdisk: (bsd) use libfdisk for partition number dialog

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) cleanup bootstrap install code
Karel Zak [Wed, 12 Jun 2013 11:25:57 +0000 (13:25 +0200)] 
fdisk: (bsd) cleanup bootstrap install code

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) use libfdisk to ask for label setting
Karel Zak [Wed, 12 Jun 2013 10:28:43 +0000 (12:28 +0200)] 
fdisk: (bsd) use libfdisk to ask for label setting

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) cleanup label initialization
Karel Zak [Wed, 12 Jun 2013 09:33:15 +0000 (11:33 +0200)] 
fdisk: (bsd) cleanup label initialization

 - remove unused variables
 - cleanup code
 - use ask API

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (bsd) use ask API for add partition dialog
Karel Zak [Tue, 11 Jun 2013 13:42:50 +0000 (15:42 +0200)] 
fdisk: (bsd) use ask API for add partition dialog

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agolibfdisk: copy ask callback from parental context
Karel Zak [Tue, 11 Jun 2013 13:42:08 +0000 (15:42 +0200)] 
libfdisk: copy ask callback from parental context

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) fix offset dialog unit
Karel Zak [Tue, 11 Jun 2013 13:25:48 +0000 (15:25 +0200)] 
fdisk: (dos) fix offset dialog unit

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) remove remaining read_{int,char}() functions
Karel Zak [Tue, 11 Jun 2013 13:05:03 +0000 (15:05 +0200)] 
fdisk: (dos) remove remaining read_{int,char}() functions

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) use ask API for new partition dialog
Karel Zak [Tue, 11 Jun 2013 12:50:15 +0000 (14:50 +0200)] 
fdisk: (dos) use ask API for new partition dialog

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: (dos) use ask API to change disk ID
Karel Zak [Tue, 11 Jun 2013 10:03:12 +0000 (12:03 +0200)] 
fdisk: (dos) use ask API to change disk ID

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agofdisk: remove ugly fatal() function
Karel Zak [Tue, 11 Jun 2013 08:41:34 +0000 (10:41 +0200)] 
fdisk: remove ugly fatal() function

Signed-off-by: Karel Zak <kzak@redhat.com>