Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fdisk: move expect actions to menu callback | Karel Zak | 2013-09-16 | 2 | -49/+45![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: consolidate code in fdisk.c | Karel Zak | 2013-09-16 | 1 | -78/+36![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: cleanup SGI functions names | Karel Zak | 2013-09-16 | 3 | -18/+17![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: cleanup sgi menu callbackswq | Karel Zak | 2013-09-16 | 2 | -32/+53 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: move "create label" actions to menu callback | Karel Zak | 2013-09-16 | 2 | -13/+31 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: remove common.h | Karel Zak | 2013-09-16 | 6 | -9/+5![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: explicitly add COPYING file | Karel Zak | 2013-09-16 | 2 | -15/+8![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: add bsd driver | Karel Zak | 2013-09-16 | 7 | -112/+23![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) final code clean up | Karel Zak | 2013-09-16 | 1 | -6/+5![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) remove xbsd_ prefix | Karel Zak | 2013-09-16 | 1 | -37/+37 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) minor code clean up | Karel Zak | 2013-09-16 | 2 | -38/+14![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) rewrite list disklabel function | Karel Zak | 2013-09-16 | 4 | -105/+147 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) coding style, remove unnecessary #ifdef | Karel Zak | 2013-09-16 | 1 | -18/+14![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) fix add/link partition | Karel Zak | 2013-09-16 | 1 | -64/+22![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) remove dead code | Karel Zak | 2013-09-16 | 1 | -19/+0![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) *OSF --> *BSD | Karel Zak | 2013-09-16 | 4 | -15/+15 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) implement regular bsd menu callback | Karel Zak | 2013-09-16 | 4 | -71/+60![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) remove generic actions from bsd_command_prompt() | Karel Zak | 2013-09-16 | 2 | -31/+3![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: allow to exchange context pointer in menu callbacks | Karel Zak | 2013-09-16 | 3 | -20/+47 |
| | | | | | | | ... to make it possible to switch to nested contexts (nested partition tables). Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) remove printf() from the driver code | Karel Zak | 2013-09-16 | 1 | -14/+15 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) move bsdbuffer to fdisk_bsd_label struct | Karel Zak | 2013-09-16 | 1 | -19/+16![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) move global label variables to fdisk_bsd_label struct | Karel Zak | 2013-09-16 | 1 | -173/+143![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) write/read PT code cleanup | Karel Zak | 2013-09-16 | 2 | -82/+72![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libblkid: fix kboff usage in BSD prober | Karel Zak | 2013-09-16 | 1 | -2/+2 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) add bsd_get_partition_status() | Karel Zak | 2013-09-16 | 1 | -16/+40 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: ask for partition in chars | Karel Zak | 2013-09-16 | 1 | -13/+38 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: allow to address partition by chars | Karel Zak | 2013-09-16 | 3 | -14/+37 |
| | | | | | | | 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> | ||||
* | fdisk: improve menus to make it more usable for BSD label | Karel Zak | 2013-09-16 | 2 | -21/+26 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) cleanup driver initialization | Karel Zak | 2013-09-16 | 2 | -87/+93 |
| | | | | | | | | - 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> | ||||
* | libfdisk: improve nested context initialization | Karel Zak | 2013-09-16 | 2 | -9/+27 |
| | | | | | | | - 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> | ||||
* | libfdisk: (dos) cosmetic changes | Karel Zak | 2013-09-16 | 1 | -12/+29 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) clean up header file | Karel Zak | 2013-09-16 | 2 | -49/+42![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) use macros from pt-mbr.h | Karel Zak | 2013-09-16 | 1 | -17/+14![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) use pt-bsd.h | Karel Zak | 2013-09-16 | 2 | -175/+25![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libblkid: move bsd definitions to pt-bsd.h | Karel Zak | 2013-09-16 | 3 | -78/+161 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (bsd) clean up BSD_LABEL* macros | Karel Zak | 2013-09-16 | 1 | -15/+10![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: move mbr code to the library | Karel Zak | 2013-09-16 | 12 | -29/+18![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) use libfdisk to ask for partition type | Karel Zak | 2013-09-16 | 1 | -3/+6 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: cleanup warning messages | Karel Zak | 2013-09-16 | 3 | -32/+29![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: remove nowarn global variable | Karel Zak | 2013-09-16 | 5 | -15/+37 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) cleanup public function names | Karel Zak | 2013-09-16 | 3 | -17/+22 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) remove unnecessary header file stuff | Karel Zak | 2013-09-16 | 4 | -37/+29![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: cleanup header file | Karel Zak | 2013-09-16 | 2 | -27/+18![]() |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) add dos menu callback | Karel Zak | 2013-09-16 | 3 | -37/+71 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: add generic function to set disklabel ID | Karel Zak | 2013-09-16 | 8 | -10/+83 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | libfdisk: add generic function to get disklabel ID | Karel Zak | 2013-09-16 | 6 | -18/+66 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (gpt) enlarge columns in list output | Karel Zak | 2013-09-16 | 1 | -3/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) remove remaining printf() usage | Karel Zak | 2013-09-16 | 1 | -3/+3 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) clean up list PT functions | Karel Zak | 2013-09-16 | 3 | -78/+177 |
| | | | | | | | - use tt.c to list partitions - list extended partitions in expert mode Signed-off-by: Karel Zak <kzak@redhat.com> | ||||
* | fdisk: (dos) fix possible mem-leaks | Karel Zak | 2013-09-16 | 2 | -7/+35 |
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> |