aboutsummaryrefslogtreecommitdiffstats
path: root/misc-utils/lsblk.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-11treewide: consolidate --list-columns option in usage() to USAGE_LIST_COLUMNS_...Christian Goeschel Ndjomouo1-1/+1
2025-09-01lib/canonicalize: use ul_ prefixKarel Zak1-1/+1
2025-08-26Merge branch 'feat/support_lsblk_columns_env' of https://github.com/cgoesche/...Karel Zak1-0/+1
2025-08-22lsblk: add support for LSBLK_COLUMNS environmental variable as an alternative...cgoesche1-0/+1
2025-08-22lsblk: (typo) rename list_colunms() to list_columns()cgoesche1-2/+2
2025-07-02lsblk: fix possible use-after-freeKarel Zak1-3/+6
2025-07-01lsblk: fix memory leak [coverity scan]Karel Zak1-0/+1
2025-06-27lsblk: use md as fallback TYPE when md/level emptycodefiles1-1/+1
2025-06-06treewide: replace postal address in license specifier with a terse URLBenno Schulenberg1-3/+2
2025-05-29lib/strutils: call gettext() only when argument of --hyperlink is invalidBenno Schulenberg1-2/+1
2025-04-29docs,usage: harmonize description of --hyperlink, and add 2 missing onesBenno Schulenberg1-0/+2
2025-04-23swapoff: check blkid_probe_lookup_value() return code [coverity scan]Karel Zak1-2/+3
2025-04-07Use the 'fallthrough' attributeMatteo Croce1-1/+1
2025-04-02lsblk: avoid strcasecmp() for ASCII-only stringsKarel Zak1-3/+4
2024-12-09lsblk: add --hyperlink command line optionKarel Zak1-1/+15
2024-09-09lsblk: update --helpKarel Zak1-3/+5
2024-08-21fix typosYang Hau1-2/+2
2024-06-24lsblk: add --properties-by optionKarel Zak1-2/+9
2024-06-04*: spelling and grammar fixesVille Skyttä1-1/+1
2024-04-22lsblk: simplify SOURCES codeKarel Zak1-5/+3
2024-03-26lsblk: (refactor) refer to a parameter instead of a file static varMasatake YAMATO1-1/+1
2024-01-11lsblk: add docs for filters and countersKarel Zak1-4/+4
2024-01-09lsblk: explain FSAVAIL in better wayKarel Zak1-1/+1
2023-12-07lsblk: add --list-columnsKarel Zak1-24/+57
2023-11-23Merge branch 'PR/libsmartcols-filter' of github.com:karelzak/util-linux-workKarel Zak1-116/+437
2023-11-22lsblk: add hint that partition start is in sectorsKarel Zak1-1/+1
2023-11-20lsblk: update after rebaseKarel Zak1-4/+4
2023-11-20lsblk: make sure all line data are deallocatedKarel Zak1-19/+23
2023-11-20libsmartcols: cleanup datafunc() APIKarel Zak1-4/+4
2023-11-20lsblk: ignore duplicate lines for countersKarel Zak1-3/+9
2023-11-20lsblk: report all unknown columns in filterKarel Zak1-5/+9
2023-11-20lsblk: define cell data-types, use raw data for SIZEsKarel Zak1-21/+59
2023-11-20lsblk: rename sortdata to rawdataKarel Zak1-55/+55
2023-11-20lsblk: always set column typeKarel Zak1-20/+25
2023-11-20lsblk: support normalized column names on command lineKarel Zak1-0/+18
2023-11-20lsblk: add scols counters supportKarel Zak1-4/+122
2023-11-20lsblk: split filter allocation and initializationKarel Zak1-21/+23
2023-11-20lsblk: fix in-tree filteringKarel Zak1-4/+3
2023-11-20lsblk: add --highlightKarel Zak1-2/+24
2023-11-20lsblk: add --filterKarel Zak1-32/+137
2023-11-14lsblk: add separate MAJ and MIN columnsKarel Zak1-0/+14
2023-10-25Merge branch 'refine-the-choice-of-stream-related-functions-in-usage' of http...Karel Zak1-3/+3
2023-10-25Make the ways of using output stream consistent in usage()Masatake YAMATO1-2/+2
2023-10-25Use fputs instead of fprintf if possibleMasatake YAMATO1-1/+1
2023-10-23lsblk: use zero to separate lines in multi-line cellsKarel Zak1-18/+24
2023-06-03misc: constify some fieldsThomas Weißschuh1-4/+4
2023-01-24lsblk: use sysfs_blkdev_is_removable()Karel Zak1-8/+7
2023-01-02Merge branch 'lsblk-nvme' of https://github.com/mbroz/util-linuxKarel Zak1-3/+9
2022-12-23Update email.Milan Broz1-1/+1
2022-12-23lsblk: add revision output to --nvme listMilan Broz1-0/+1
2022-12-23lsblk: read firmware revision from udevMilan Broz1-2/+7
2022-12-21lsblk: add mmc transportThomas Weißschuh1-0/+2
2022-10-25lsblk: improve mountpoint columns formattingKarel Zak1-2/+2
2022-09-05lsblk: add PARTN columnKarel Zak1-0/+7
2022-09-01lsblk: add DISK-SEQ (aka /sys/block//diskseqKarel Zak1-0/+7
2022-06-07lsblk: fix memory leak and unnecessary allocationKarel Zak1-5/+9
2022-06-06lsblk: simplify code by ul_path_count_dirents()Karel Zak1-13/+2
2022-06-06lsblk: enable 'MQ' for NVMe/virtio by defaultzhenwei pi1-0/+2
2022-06-06lsblk: introduce 'MQ' columnzhenwei pi1-0/+33
2022-06-06lsblk: add -v/--virtiozhenwei pi1-1/+22
2022-06-06lsblk: support virtio blockzhenwei pi1-1/+3
2022-06-06lsblk: add -N/--nvmezhenwei pi1-1/+23
2022-04-25lsblk: add ID columnKarel Zak1-0/+10
2022-04-25lsblk: make ID-LINK code more readableKarel Zak1-5/+5
2022-04-22lsblk: add ID-LINK columnKarel Zak1-0/+7
2022-04-01lsblk: fix JSON output when without --bytesKarel Zak1-6/+6
2022-02-14lsblk: update --help output for -yKarel Zak1-1/+1
2022-02-11lsblk: add -y/--shellKarel Zak1-1/+8
2022-01-12lsblk: sort usage() outputKarel Zak1-2/+2
2022-01-12lsblk: add --noemptyKarel Zak1-1/+10
2021-08-31lsblk: add zoned columns to "lsblk -z"Naohiro Aota1-1/+7
2021-08-31lsblk: add columns of zoned parametersNaohiro Aota1-0/+52
2021-08-31lsblk: factor out function to read sysfs param as bytesNaohiro Aota1-25/+21
2021-08-06lib/buffer: add support for "safe" encodingKarel Zak1-2/+2
2021-08-05lib/buffer: retun size of the buffer and dataKarel Zak1-2/+2
2021-06-09lsblk: sort list of columnsKarel Zak1-97/+91
2021-06-09lsblk: add column START for partition start offsetsKarel Zak1-1/+8
2021-01-11lsblk: use MOUNTTARGETS in default outputKarel Zak1-1/+1
2021-01-08lsblk: use MOUNTPOINTS in --fsKarel Zak1-1/+1
2021-01-08lsblk: add FSROOTS columnKarel Zak1-0/+20
2021-01-08lsblk: print all device mountpointsKarel Zak1-10/+41
2020-11-24lsblk: add dependence between CD/DVD block and packet devicesKarel Zak1-4/+30
2020-10-12bash-completion: (lsblk) update columnsKarel Zak1-1/+1
2020-10-12lsblk: add --width optionKarel Zak1-2/+12
2020-09-09lsblk: show all empty, except loopdevsKarel Zak1-4/+9
2020-09-09lsblk: ignore only loopdevs without backing fileKarel Zak1-1/+11
2020-09-09lsblk: print zero rather than empty SIZEKarel Zak1-2/+0
2020-09-02lsblk: fix -T optional argumentKarel Zak1-2/+5
2020-07-14lsblk: Add SERIAL column to the SCSI output mode.Milan Broz1-0/+1
2020-05-14lsblk: Ignore hidden devicesRitika Srivastava1-0/+5
2020-05-06lsblk: add dax (direct access) capability columnAnthony Iliopoulos1-0/+5
2020-02-25lsblk: fix -P regression from v2.34Karel Zak1-4/+5
2019-12-04lsblk: add PARTTYPENAME columnKarel Zak1-1/+12
2019-11-15lsblk: add FSVER to --fsKarel Zak1-0/+1
2019-11-12lsblk: add FSVER (filesystem version) columnKarel Zak1-0/+7
2019-10-15lsblk: read also GROUP,OWNER and MODE from dumpsKarel Zak1-19/+31
2019-07-14include/xalloc: ensure xstrdup() and xstrndup() returns nonnull attributeSami Kerola1-1/+7
2019-06-27lsblk: force to print PKNAME for partitionKarel Zak1-0/+3
2019-05-23lsblk: make sure __process_one_device() has proper arguments [coverity scan]Karel Zak1-2/+7
2019-05-23lsblk: check ul_path_scanf() return value [coverity scan]Karel Zak1-4/+5
2019-05-23lsblk: check stat() return code [coverity scan]Karel Zak1-2/+3
2019-05-06lsblk: fix heap-use-after-freeKarel Zak1-0/+1
2019-05-02lsblk: add more debug messagesKarel Zak1-5/+15
2019-04-16misc: consolidate version printing and close_stdout()Karel Zak1-8/+8
2019-04-11lib/fileutils: add xreaddir()Karel Zak1-18/+1
2019-03-19lscpu: fix excl[] array orderKarel Zak1-0/+1
2019-03-18lsblk: force tree on --json --tree independently on used columnsKarel Zak1-0/+9
2019-02-20lsblk: allow to specify tree columnKarel Zak1-9/+17
2018-12-10lsblk: fix null pointer dereferencesSami Kerola1-2/+2
2018-12-07lsblk: add --mergeKarel Zak1-19/+52
2018-12-07lsblk: add --dedup <column>Karel Zak1-2/+64
2018-12-07lsblk: remember whole-disk, remove unused struct memberKarel Zak1-8/+12
2018-12-07lsblk: make device_get_data() more genericKarel Zak1-56/+78
2018-12-07lsblk: apply --nodeps to partitions tooKarel Zak1-3/+3
2018-12-07lsblk: read queue/discard_granularity only when necessaryKarel Zak1-12/+17
2018-12-07lsblk: reuse 'removable' flag from parentKarel Zak1-5/+29
2018-12-07lsblk: don't keep sysfs dirs openKarel Zak1-16/+46
2018-12-07lsblk: rename set_device()Karel Zak1-6/+6
2018-12-07lsblk: add commentsKarel Zak1-12/+46
2018-12-07lsblk: add process_all_devices_inverse()Karel Zak1-35/+90
2018-12-07lsblk: reorder functionsKarel Zak1-56/+57
2018-12-07lsblk: make process_partitions() more readableKarel Zak1-11/+11
2018-12-07lsblk: remove unncessary parent pointerKarel Zak1-32/+18
2018-12-07lsblk: use real rather than hardcoded parentKarel Zak1-4/+9
2018-12-07lsblk: use devtree functionsKarel Zak1-92/+104
2018-12-07lsblk: process_one_device() refactoringKarel Zak1-11/+24
2018-12-07lsblk: add devtree_get_device_or_new()Karel Zak1-13/+26
2018-12-07lsblk: keep functions names consistentKarel Zak1-12/+12
2018-12-07lsblk: remove unused reset_device()Karel Zak1-25/+0
2018-12-07lsblk: fix devtree deallocationKarel Zak1-2/+3
2018-12-07lsblk: split sysfs reading and scols table fillingKarel Zak1-22/+56
2018-12-07lsblk: remove badly named debug interface nameKarel Zak1-20/+20
2018-12-07lsblk: properly initialize structsKarel Zak1-4/+5
2018-12-07lsblk: rename reset_lsblk_device() to reset_device()Karel Zak1-6/+6
2018-12-07lsblk: rename blkdev_cxt to lsblk_deviceKarel Zak1-232/+232
2018-10-03lsblk: always use "part" as TYPE for partitionsKarel Zak1-1/+4
2018-09-19lsblk: move udev and blkid stuff to lsblk-properties.cKarel Zak1-193/+16
2018-09-19lsblk: cleanup udev/blkid properties codeKarel Zak1-98/+124
2018-09-14lsblk: encapsulate stat() usageKarel Zak1-12/+16
2018-09-14lsblk: differentiate between swap and mountKarel Zak1-1/+1
2018-09-14lsblk: use lsblk_ prefix mountpoint getterKarel Zak1-2/+2
2018-09-14lsblk: init/deinit libmount stuffKarel Zak1-0/+2
2018-09-14lsblk: move mount stuff to lsblk-mnt.cKarel Zak1-107/+0
2018-09-14lsblk: add lsblk.hKarel Zak1-81/+3
2018-09-13lsblk: add columns FSAVAIL,FSSIZE,FSUSED,FSUSE%Karel Zak1-6/+84
2018-09-11lsblk: don't ask udev when --sysroot specifiedKarel Zak1-0/+2
2018-09-10lsblk: prefer MODEL from udev DBKarel Zak1-2/+12
2018-07-10lsblk: add PATH columnKarel Zak1-0/+6
2018-06-21lsblk: fix ul_path_read_string() usageKarel Zak1-1/+1
2018-06-21lsblk: fix COL_SCHEDKarel Zak1-1/+1
2018-06-21lsblk: document --sysrootKarel Zak1-0/+1
2018-06-21lsblk: fix sysfs_devno_to_devname() usageKarel Zak1-0/+1
2018-06-21lsblk: follow --sysroot when read mountpointsKarel Zak1-2/+16
2018-06-21lsblk: use prefix for DM nameKarel Zak1-4/+14
2018-06-21lsblk: add --sysrootKarel Zak1-3/+13
2018-06-21lsblk: use new ul_path_* APIKarel Zak1-94/+82
2018-06-19lsblk: add partition table UUID and type fields.Milan Broz1-0/+27
2018-05-15lsblk: don't exclude RAM disks on --allKarel Zak1-1/+1
2018-04-03lsblk: consolidate column types for JSON and qsort()Karel Zak1-24/+47
2018-01-17include/debug: introduce __UL_INIT_DEBUG_FROM_STRING()Karel Zak1-1/+1
2018-01-12include/debug: don't print pointer address for SUID programsKarel Zak1-0/+2
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-26misc: consolidate usage() "Available columns"Karel Zak1-1/+1
2017-06-09lsblk: add option --treeKarel Zak1-2/+11
2017-05-18misc: consolidate smartcols error messagesKarel Zak1-5/+5
2017-04-19lsblk: don't duplicate columnsKarel Zak1-49/+55
2017-04-19lsblk: add ZONED columnDamien Le Moal1-2/+13
2017-04-13lsblk: fix --inverse --listKarel Zak1-0/+7
2017-04-13lsblk: move scols_flags to lsblk control structKarel Zak1-18/+19
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-29/+29
2017-02-13docs: Fix word repetitionsYuri Chornoivan1-1/+1
2016-12-19lsblk: use errtryhelp()Karel Zak1-1/+1
2016-11-02lsblk: sort by MAJ:MIN by defaultKarel Zak1-0/+5
2016-06-02lsblk: improve support for nvmeKarel Zak1-1/+5
2016-05-31misc: Fix various typosSebastian Rasmussen1-6/+6
2016-05-25lsblk: use ID_WWN_WITH_EXTENSION is possibleKarel Zak1-1/+6
2016-03-16mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messagesBenno Schulenberg1-2/+1
2016-03-08Revert "include sysmacros.h where used"Karel Zak1-1/+0
2016-03-08include sysmacros.h where usedMike Frysinger1-0/+1
2016-03-07lib: remove openat fallback functions (include/at.h)Ruediger Meier1-8/+3
2016-02-18lib: rename strmode() and setmode()Ruediger Meier1-1/+1
2016-02-03docs: fix typos found by codespellRuediger Meier1-1/+1
2016-01-22lsblk: remove useless warningsKarel Zak1-5/+5
2016-01-12lsblk: use unsigned type for SIZEKarel Zak1-1/+1
2015-12-10lsblk: allow to --sort by hidden columnKarel Zak1-2/+8
2015-10-15mount, umount, swapon, fsck, lsblk, findmnt: ignore malformed linesKarel Zak1-0/+11
2015-08-31lsblk: fix resource leak [coverity scan]Andreas Henriksson1-1/+3
2015-07-31lsblk: Display mountpoint even for top-level deviceMilan Broz1-2/+1
2015-06-04lsblk: add --jsonKarel Zak1-2/+14
2015-05-29lsblk: use internally sysfs devnamesKarel Zak1-5/+4
2015-05-28lib/sysfs: rename devname functions, cleanupKarel Zak1-8/+11
2015-05-26Fix /sys to /dev node name translationStanislav Brabec1-0/+1
2015-04-22lib/strutils: fix string_add_to_idarray() int vs. size_tKarel Zak1-6/+8
2015-04-01lsblk: don't ignore dependences for partitioned deviesKarel Zak1-2/+3
2015-04-01lsblk: follow kernel for inverse treeKarel Zak1-1/+3
2015-04-01lsblk: add debug supportKarel Zak1-11/+76
2015-01-29lsblk: implement SOMEOK (=64) return codeKarel Zak1-13/+27