aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-29lib/colors: call gettext() only when the argument of --color is invalidBenno Schulenberg1-2/+1
2025-05-13treewide: add ul_ to parse_size() function nameKarel Zak1-1/+1
2025-04-07Use the 'fallthrough' attributeMatteo Croce1-4/+4
2025-04-03cfdisk: fix memory leak and possible NULL dereference [gcc-analyzer]Karel Zak1-1/+3
2025-04-02fdisk,partx: avoid strcasecmp() for ASCII-only stringsKarel Zak1-1/+2
2025-03-20misc: never include wchar.hKarel Zak1-5/+1
2024-11-20Drop pointless bitfieldsZbigniew Jędrzejewski-Szmek1-4/+4
2024-11-18disk-utils: make pointer arrays constMax Kellermann1-2/+2
2024-10-14cfdisk: add --sector-size commanand line optionKarel Zak1-1/+14
2024-06-24cfdisk: fix possible integer overflow [coverity scan]Karel Zak1-0/+2
2024-05-12cfdisk: Remove unused struct 'cfdisk_extra'Dr. David Alan Gilbert1-8/+0
2023-11-14cfdisk: properly handle out-of-order partitions during resizeThomas Weißschuh1-7/+6
2023-11-01disk-utils: add SPDX and Copyright noticesKarel Zak1-5/+7
2023-10-25Make the ways of using output stream consistent in usage()Masatake YAMATO1-2/+2
2023-06-26cfdisk: fix menu behavior after writing changesKarel Zak1-0/+4
2023-06-12cfdisk: add hint about labels for bootable flagKarel Zak1-3/+4
2023-04-12cfdisk: ask y/n before wipeKarel Zak1-5/+12
2022-11-22cfdisk: prevent unused variablesThomas Weißschuh1-0/+2
2022-03-17cfdisk: don't use NULL in printf [coverity scan]Karel Zak1-1/+1
2021-06-25cfdisk: optimize mountpoint detection for PARTUUIDKarel Zak1-1/+27
2021-06-22cfdisk: do not use atoi()Karel Zak1-3/+12
2021-06-18libfdisk: add and fix __format__ attributesKarel Zak1-17/+32
2021-04-15cfdisk: warn if disk on useKarel Zak1-0/+2
2021-01-05Merge branch 'disk-utils-document-resize' of https://github.com/vdmz/util-linuxKarel Zak1-0/+1
2021-01-05cfdisk: show Q option when choosing label typeChris Hofstaedtler1-1/+1
2021-01-04cfdisk: Implemented cfdisk's opening in read-only modeDmitriy Chestnykh1-4/+10
2021-01-02Show the 'r' option in the help menuVincent McIntyre1-0/+1
2020-09-30fdisk: always report fdisk_create_disklabel() errorsKarel Zak1-2/+18
2020-05-27cfdisk: add --lock and LOCK_BLOCK_DEVICEKarel Zak1-2/+20
2020-04-20[clang-tidy] do not use else after returnRosen Penev1-3/+7
2020-01-15cfdisk: check mnt_table_parse_fstab() return code [coverity scan]Karel Zak1-1/+4
2019-08-24po: remove possibility to translate static option argumentsSami Kerola1-1/+2
2019-06-11cfdisk: free libfdisk itemsKarel Zak1-0/+1
2019-06-11cfdisk: simplify codeKarel Zak1-3/+1
2019-04-16misc: consolidate version printing and close_stdout()Karel Zak1-3/+2
2019-02-12fdisk: use 2 decimal places for size in disk summaryKarel Zak1-1/+2
2018-07-23cfdisk: fix compiler warnings [-Wcast-qual]Karel Zak1-1/+1
2018-05-24cfdisk: fix compiler warnings, follow-up 7085f1e4 (#636)Ruediger Meier1-2/+2
2018-05-24cfdisk: use uint64_t to avoid compiler warningsKarel Zak1-11/+11
2018-04-11cfdisk: fix missing prototype for `get_wch`Patrick Steinhardt1-0/+4
2018-01-17include/debug: introduce __UL_INIT_DEBUG_FROM_STRING()Karel Zak1-1/+1
2017-09-26cfdisk: cleanup die-on-signal codeKarel Zak1-16/+47
2017-09-26cfdisk: make resize code more readableKarel Zak1-10/+10
2017-08-15cfdisk: add missing 0x7F key mappingKarel Zak1-0/+1
2017-07-19cfdisk: add resize functionKarel Zak1-7/+49
2017-07-14cfdisk: use fdisk_reread_changes()Karel Zak1-1/+11
2017-06-29misc: consolidate macro style USAGE_HELP_OPTIONSRuediger Meier1-2/+2
2017-06-27misc: introduce print_usage_help_options()Ruediger Meier1-2/+1
2017-06-26misc: cosmetics, remove argument from usage(FILE*)Ruediger Meier1-3/+4
2017-06-14misc: fix reassigned values before old ones has been used [cppcheck]Sami Kerola1-1/+1
2017-05-31cfdisk: fix compiler warningKarel Zak1-2/+2
2017-05-17cfdisk: add hints for scanners [coverity scan]Karel Zak1-0/+2
2017-03-22Fix menu spelling in cfdisk debug messagesKarel Zak1-2/+2
2017-03-13misc: stop mixing declarations and codeSami Kerola1-1/+3
2017-02-20misc: add static keyword to where needed [smatch scan]Sami Kerola1-3/+3
2017-02-20misc: do not use plain 0 as NULL [smatch scan]Sami Kerola1-1/+1
2017-02-20cfdisk: avoid use of VLA in combination with sizeof() [smatch scan]Sami Kerola1-2/+5
2017-02-16cfdisk: use buffer editor for ui_get_string()Karel Zak1-53/+46
2017-02-02cfdisk: add copyright to helpKarel Zak1-1/+4
2017-02-01cfdisk: support UI refresh on ^LKarel Zak1-2/+14
2016-12-19Use --help suggestion on invalid optionKarel Zak1-0/+2
2016-10-04cfdisk: fix mountpoint detectionKarel Zak1-21/+26
2016-07-07cfisk: add /dev/vda as another default diskKarel Zak1-13/+23
2016-06-03cfdisk: use libsmartcols ASCII for non-widechar environmentKarel Zak1-0/+4
2016-05-31misc: Fix various typosSebastian Rasmussen1-1/+1
2016-05-04build-sys: remove obsolete [cs]fdisk LDADDsKarel Zak1-4/+0
2016-05-04sfdisk: add --wipe-partitions=auto|never|defaultKarel Zak1-33/+12
2016-03-16fdisk, cfdisk, sfdisk: improve the grammar of three messagesBenno Schulenberg1-1/+1
2016-02-18cfdisk: wipe device if create a new labelKarel Zak1-0/+8
2015-12-07cfdisk: use new libsmartcols functionality to fix outputKarel Zak1-0/+1
2015-12-07Revert "cfdisk: make sure that output fits to terminal width"Karel Zak1-13/+2
2015-08-05cfdisk, sfdisk: remove unused variablesKarel Zak1-9/+8
2015-08-04cfdisk: check return value [coverity scan]Karel Zak1-3/+5
2015-08-03textual: adjust grammar and punctuation of some messagesBenno Schulenberg1-1/+1
2015-07-27cfdisk: don't print obsolete CHS addressesKarel Zak1-10/+0
2015-07-27cfdisk: make sure that output fits to terminal widthKarel Zak1-2/+13
2015-07-27cfdisk: remove extra line between menu and info lineKarel Zak1-1/+1
2015-07-27cfdisk: spell "label" in lower caseBenno Schulenberg1-1/+1
2015-07-27cfdisk: allow an uppercase X to toggle the extra infoBenno Schulenberg1-0/+1
2015-07-22cfdisk: make sure that extra info is refreshed/removedKarel Zak1-1/+3
2015-07-22cfdisk: properly toggle extra info window, make it more robustKarel Zak1-9/+31
2015-06-25cfdisk: fix condition logic [cppcheck]Boris Egorov1-1/+1
2015-03-31cfdisk: cleanup extra partitions info for slangKarel Zak1-35/+18
2015-03-27cfdisk: provide extra partinfo with "x"Ondrej Oprala1-12/+356
2015-02-25colors: cleanup man pages, add hint to usage()Karel Zak1-2/+4
2015-02-10cfdisk: improve create-label UIKarel Zak1-11/+15
2015-02-10cfdisk: also recognize a lowercase 'l' for loading a script fileBenno Schulenberg1-0/+1
2015-02-10cfdisk: do not startle the user with a false message when --zero is usedBenno Schulenberg1-2/+3
2015-02-03cfdisk: improve ui_get_size() warningsKarel Zak1-5/+10
2015-02-03libfdisk: fix issues with very small partitionsKarel Zak1-2/+3
2015-02-03cfdisk: print "wrong order" warning after startup, colorize info messagesKarel Zak1-2/+9
2015-02-03cfdisk: force main menu to default to Quit/New menu itemsKarel Zak1-8/+13
2015-02-02cfdisk: disable some KEY_* in ui_get_wqstring()Karel Zak1-0/+9
2015-02-02cfdisk: default to Quit menu itemKarel Zak1-0/+4
2015-02-02cfdisk: make '?' an alias of 'h', to also show the help screenBenno Schulenberg1-0/+1
2015-02-02cfdisk: punctuate the bottombar messages consistentlyBenno Schulenberg1-6/+6
2015-02-02cfdisk: improve wording and consistency of the size warningsBenno Schulenberg1-2/+2
2015-02-02cfdisk: remove the mistaken B from the explanation of size suffixesBenno Schulenberg1-2/+2
2015-01-28cfdisk: fix mem leak and main_menu_action() logic [coverity scan]Karel Zak1-6/+9
2015-01-26cfdisk: actually translate the table headers and the bottom lineBenno Schulenberg1-2/+2
2015-01-26cfdisk: shorten the help screen to make it fit within 25 linesBenno Schulenberg1-14/+7
2015-01-26cfdisk: don't mess up the help screen by printing the PO file headerBenno Schulenberg1-6/+5
2015-01-26textual: fix spellos and inconsistencies in several program messagesBenno Schulenberg1-2/+2
2015-01-07maint: fix shadow declarationSami Kerola1-3/+3
2015-01-06textual: add a docstring to most of the utilitiesBenno Schulenberg1-1/+3
2015-01-05cfdisk: improve Dump dialogKarel Zak1-9/+6
2015-01-05cfdisk: improve menu clean functionKarel Zak1-7/+8
2015-01-05cfdisk: detect too small partition sizesKarel Zak1-6/+15
2014-11-26libfdisk: rename and move functionKarel Zak1-1/+1
2014-11-13cfdisk: cleanup menuitem draw functionsKarel Zak1-19/+55
2014-11-13cfdisk: remove [Load] from menuKarel Zak1-13/+0
2014-11-12cfdisk: add support for sfdisk scriptsKarel Zak1-2/+110
2014-10-24include/debug: fix typoKarel Zak1-1/+1
2014-10-15libfdisk: make it possible to use zero for size and startKarel Zak1-1/+2
2014-10-09sfdisk: ask on EOFKarel Zak1-1/+1
2014-10-09libfdisk: follow explicitly specified partition sizeKarel Zak1-3/+10
2014-10-07libfdisk: return partno when add new partitionKarel Zak1-1/+1
2014-10-01textual: use version printing macro everywhereSami Kerola1-2/+1
2014-10-01cfdisk: don't modify ncurses LINES and COLSKarel Zak1-29/+37
2014-08-28libfdisk: use reference counting for contextKarel Zak1-1/+1
2014-08-26cfdisk: fix typo in the previous commitKarel Zak1-2/+2
2014-08-26cfdisk: wrong interpretation of yes in non-english languageKarel Zak1-2/+2
2014-08-15fdisk: use libfdisk public API onlyKarel Zak1-1/+1
2014-08-15cfdisk: use only public libfdisk APIKarel Zak1-14/+20
2014-08-14libfdisk: final parttype API cleanupKarel Zak1-13/+14
2014-08-14libfdisk: move get_parttypes to label APIKarel Zak1-6/+8
2014-08-14libfdisk: make it possible to get fields for all labesKarel Zak1-1/+1
2014-08-13libfdisk: cleanup fdisk_is_label stuffKarel Zak1-5/+5
2014-08-13libfdisk: clean up API (context.c)Karel Zak1-10/+10
2014-08-13cfdisk: add libfdisk independent debug stuffKarel Zak1-33/+55
2014-08-13libfdisk: rename fdisk_column to fdisk_fieldKarel Zak1-31/+29
2014-08-13libfdisk: remove dependence on libsmartcolsKarel Zak1-7/+13
2014-08-06cfdisk: move curs_set(1) to ui_end()Karel Zak1-2/+1
2014-07-28cfdisk: reenable cursor when quittingAndreas Henriksson1-0/+1
2014-07-23textual: fix some typos and inconsistencies in various messagesBenno Schulenberg1-3/+3
2014-07-21cfdisk: actually translate the partition types in the menuBenno Schulenberg1-2/+2
2014-07-18cfdisk: use /dev/sda by defaultKarel Zak1-6/+20
2014-07-17cfdisk: make code more readable for analyzers [coverity scan]Karel Zak1-0/+2
2014-07-17cfdisk: fix possible memory leak [coverity scan]Karel Zak1-0/+1
2014-07-15cfdisk: restore the license that was lost in JanuaryBenno Schulenberg1-0/+14
2014-07-15cfdisk: fix warning usage, improve 's' helpKarel Zak1-2/+2
2014-07-15cfdisk: accept 's' as well as 'S' for sectorsKarel Zak1-1/+1
2014-07-15cfdisk: make menus sensitive to ESCKarel Zak1-0/+2
2014-07-15cfdisk: use \n for messages on stdout and stderrKarel Zak1-4/+13
2014-07-15libfdisk: make disk sync() optionalKarel Zak1-1/+4
2014-07-13cfdisk: add braces to ensure operation orderSami Kerola1-1/+1
2014-07-01cfdisk: fix division by zero [clang-analyze]Karel Zak1-0/+6
2014-06-20cfdisk: add --zero command line optionKarel Zak1-3/+9
2014-06-20cfdisk: don't offer BSDKarel Zak1-4/+4
2014-06-06libsmartcols: add debug messagesKarel Zak1-0/+2
2014-06-05cfdisk: resize UI on SIGWINCHKarel Zak1-7/+103
2014-06-05cfdisk: add [Sort] operationKarel Zak1-2/+16
2014-05-13lib/colors: allow to temporary disable colorsKarel Zak1-1/+1
2014-05-13cfdisk: fix compiler warning [-Wsign-compare]Karel Zak1-1/+2
2014-04-03libsmartcols: clean up flags usageKarel Zak1-3/+2
2014-04-03cfdisk: clean up scols usageKarel Zak1-7/+29
2014-04-03Use libsmartcols in libfdisk and cfdiskOndrej Oprala1-20/+29
2014-03-21Merge branch 'fix-compile-color-cfdisk' of https://github.com/theonewolf/util...Karel Zak1-1/+1
2014-03-21Merge branch 'cfdisk-fix-typo' of https://github.com/rudimeier/util-linuxKarel Zak1-2/+2
2014-03-21libfdisk: properly implement read-only modeKarel Zak1-2/+19
2014-03-21libfdisk: use new debug functionsKarel Zak1-29/+29
2014-03-19cfdisk: fix compile-time error fixes #59Wolfgang Richter1-1/+1
2014-03-14cfdisk: fix typo (undeclared variable since b1f58330)Ruediger Meier1-2/+2
2014-03-11cfdisk: follow terminal-colors.dKarel Zak1-1/+1
2014-03-11cfdisk: fix colors initializationKarel Zak1-1/+1
2014-03-11cfdisk: fix slang usageKarel Zak1-5/+17
2014-03-11build-sys: ove fdisks to disk-utilsKarel Zak1-0/+1842
2006-12-07Imported from util-linux-2.9i tarball.v2.9iKarel Zak1-2560/+0
2006-12-07Imported from util-linux-2.8 tarball.v2.8Karel Zak1-62/+189
2006-12-07Imported from util-linux-2.7.1 tarball.v2.7.1Karel Zak1-200/+301
2006-12-07Imported from util-linux-2.5 tarball.v2.5Karel Zak1-3/+5
2006-12-07Imported from util-linux-2.2 tarball.v2.2Karel Zak1-0/+2330