summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/init.c
Commit message (Collapse)AuthorAgeFilesLines
* include/debug: introduce __UL_INIT_DEBUG_FROM_STRING()Karel Zak2018-01-171-1/+1
| | | | | | | Let's make it possible to use debug.h without environment variables. Suggested-by: J William Piggott <elseifthen@gmx.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add version to debug outputKarel Zak2017-02-271-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* misc: Fix various typosSebastian Rasmussen2016-05-311-1/+1
| | | | | | | Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
* libfdisk: add API for work with labelitemsKarel Zak2016-05-121-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add fdisk_wipe_partition()Karel Zak2016-05-041-0/+1
| | | | | | | | | | | | | | | | | | | Now libfdisk provides functionality wipe disk device only ([s]fdisk option --wipe). This patch allows to probe for filesystems/RAIDs on newly created partitions. It means we can remove signatures before the partition node (device) is created. This reduces udev events and it's unnecessary to call wipefs for all partitions. For example sfdisk --wipe=always --wipe-partitions=always /dev/sda <<< ... EOF is a elegant way how to create new disk layout without any obsolete filesystems/RAIDs. Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add docs for init functionsKarel Zak2014-11-261-0/+11
|
* libfdisk: clean up debug, add help debug maskKarel Zak2014-11-031-12/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include/debug: fix typoKarel Zak2014-10-241-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add functions to apply partitiong scriptsKarel Zak2014-09-011-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: basic fdisk_dump_* functionsKarel Zak2014-08-221-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include/debug: cleanup masksKarel Zak2014-08-131-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libs/debug: accept human readable names for _DEBUG=Ondrej Oprala2014-08-131-0/+12
| | | | | | | | | | For example $ LIBMOUNT_DEBUG=tab,cache findmnt to debug only TAB and CACHE subsystem. Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* clean up redundant macros and definesOndrej Oprala2014-03-131-1/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libfdisk: use include/debug.hOndrej Oprala2014-03-131-16/+2Star
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libfdisk: add basic library filesKarel Zak2013-03-111-0/+33
Signed-off-by: Karel Zak <kzak@redhat.com>