]>
git.ipfire.org Git - thirdparty/util-linux.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Karel Zak [Tue, 18 Jun 2013 13:03:26 +0000 (15:03 +0200)]
libblkid: move MBR definitions to include/pt-mbr.h
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>
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>
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>
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>
Karel Zak [Fri, 14 Jun 2013 13:17:45 +0000 (15:17 +0200)]
fdisk: cleanup warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
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>
Karel Zak [Wed, 12 Jun 2013 15:28:26 +0000 (17:28 +0200)]
fdisk: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Karel Zak [Tue, 11 Jun 2013 08:17:57 +0000 (10:17 +0200)]
fdisk: remove Mac code
The code has been used only to detect magic strings, nothing else.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 10:04:27 +0000 (12:04 +0200)]
lsblk: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 10:00:12 +0000 (12:00 +0200)]
lscpu: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 09:55:52 +0000 (11:55 +0200)]
prlimit: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 09:51:44 +0000 (11:51 +0200)]
swapon: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 09:49:38 +0000 (11:49 +0200)]
losetup: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 Jun 2013 09:48:16 +0000 (11:48 +0200)]
partx: use TT_FL_FREEDATA for tt table
Signed-off-by: Karel Zak <kzak@redhat.com>