summaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* hardlink: enable build with and without pcre2Ruediger Meier2018-11-121-0/+1
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* choom: new command to adjust OOM-killer score valueKarel Zak2018-04-161-0/+1
| | | | | | | | | Let's provide command line tool, man page with OOM description and bash-completion. It seems better than force end-users to use "echo" to /proc. Addresses: https://github.com/karelzak/util-linux/issues/609 Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: disable bz2 tarball and fix some am warningsRuediger Meier2018-02-151-0/+1
| | | | | | | | | | | | | | | | | | | Nobody needs the .bz2 tarball. We dont't even upload it to kernel.org. BTW we fix dozens of these automake warnings: automake-1.13/am/ltlibrary.am: warning: 'libblkid.la': linking libtool libraries using a non-POSIX automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' So we can remove -Wno-portability. The only warning left is this last GNU-make'ism which somebody may fix when reading it: sys-utils/Makemodule.am:191: warning: addprefix sys-utils/,$(SETARCH_LINKS: non-POSIX variable name sys-utils/Makemodule.am:191: (probably a GNU make extension) Makefile.am:90: 'sys-utils/Makemodule.am' included from here Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* rfkill: make command to build in util-linux projectSami Kerola2017-08-301-0/+1
| | | | | | | After this commit the command merely builds, but does not confirm style used in util-linux project. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* uuidparse: add new commandSami Kerola2017-06-261-0/+1
| | | | | | | | | | | This command will analyze and print information about UUID's. The command is based on libuuid/src/uuid_time.c but modified to use libsmartcol. [kzak@redhat.com: - minor coding style changes] Reference: http://marc.info/?l=util-linux-ng&m=149735980715600&w=2 Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tailf: remove deprecated utilitySami Kerola2017-04-021-1/+0Star
| | | | | | | | March 2017 is gone, it is time to remove this utility as scheduled in earlier commit, and promised in manual page. Reference: 3f8478a71ccde6883d4c81b7e65561a106653b28 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fincore: cleanup return codesKarel Zak2017-03-231-0/+1
| | | | | | Don't use EXIT_* macros as functions return code. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add parse-date.yKarel Zak2017-03-041-0/+1
| | | | | | | | | | | | | * add lib/parse-date.y to build system * add necessary autotools stuff to generate .c on the fly (autotools are smart enough to add generated file to tarball) * check for bison version by ./autogen.sh * add non-wanted junk to .gitignore With some modification by J William Piggott with regard to moving the parse-date API into timeutils.h Signed-off-by: J William Piggott <elseifthen@gmx.com>
* blkreport, blkreset: remove in favour of blkzoneKarel Zak2017-02-231-2/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkzone: add new command (merge blkreport and blkreset)Karel Zak2017-02-231-0/+1
| | | | | | | This new command is based on the original implementation of blkreport and blkreset command. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkzonecmd, blkreport: Add new commands for ZAC/ZBC drivesShaun Tancheff2017-02-091-0/+2
| | | | | | | | | | | | | | | This patch adds: - blkreset to issue Reset (Write Pointer) zone commands - blkreport to retrieve drive zone information [kzak@redhat.com: - cleanup man page and usage() - remove command line options aliases, - use strtosize_or_err() - remove unnecessary -ludev - use blkdev.h stuff] Signed-off-by: Shaun Tancheff <shaun@tancheff.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* chmem: new toolHeiko Carstens2016-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the s390 specific chmem tool to util-linux. The chmem tool was originally written in perl and is part of the s390-tools package which can be found here: https://www.ibm.com/developerworks/linux/linux390/s390-tools.html Given that the tool is architecture independent, there is no reason to keep it in an s390 specific repository. It seems to be useful for other architectures as well. This patch converts the tool to C and adds it to util-linux, while the command line options stay compatible. The only exception is the option "-v" which used to be the short form of "--version". That got changed to "-V" so it behaves like most other tools contained within util-linux. The chmem tool can be used to set memory online or offline. This can be achieved by specifying a memory range: Memory Block 19 (0x0000000130000000-0x000000013fffffff) disabled or by specifying a size where chmem will automatically select memory blocks: Memory Block 21 (0x0000000150000000-0x000000015fffffff) disable failed Memory Block 18 (0x0000000120000000-0x000000012fffffff) disabled Memory Block 17 (0x0000000110000000-0x000000011fffffff) disabled Memory Block 16 (0x0000000100000000-0x000000010fffffff) disabled Memory Block 15 (0x00000000f0000000-0x00000000ffffffff) disabled or by specifying memory block numbers instead of address ranges: Memory Block 15 (0x00000000f0000000-0x00000000ffffffff) disabled Memory Block 16 (0x0000000100000000-0x000000010fffffff) disabled Memory Block 17 (0x0000000110000000-0x000000011fffffff) disabled Memory Block 18 (0x0000000120000000-0x000000012fffffff) disabled This is based on a patch from Clemens von Mann. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lsmem: new toolHeiko Carstens2016-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the s390 specific lsmem tool to util-linux. The lsmem tool was originally written in perl and is part of the s390-tools package which can be found here: https://www.ibm.com/developerworks/linux/linux390/s390-tools.html Given that the tool is architecture independent, there is no reason to keep it in an s390 specific repository. It seems to be useful for other architectures as well. This patch converts the tool to C and adds it to util-linux, while the command line options stay compatible. The only exception is the option "-v" which used to be the short form of "--version". That got changed to "-V" so it behaves like most other tools contained within util-linux. The lsmem tool inspect the contents of /sys/devices/system/memory and prints a summary output similar to what lscpu does: RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x000000005fffffff 1,5G online yes 0-5 0x0000000060000000-0x000000007fffffff 512M online no 6-7 0x0000000080000000-0x000000013fffffff 3G online yes 8-19 0x0000000140000000-0x000000014fffffff 256M offline - 20 0x0000000150000000-0x000000017fffffff 768M online no 21-23 Memory block size : 256M Total online memory : 5,8G Total offline memory: 256M In order to keep the output small the tool merges subsequent address ranges where the attributes are identical. To avoid merging of line the "-a" option can be used. The lsmem tool also has "--extendend" and "--parsable" option which can be used to customize the output, e.g. limit the output to specified columns. This is quite similar to what the lscpu tool does. This is based on a patch from Clemens von Mann. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* build-sys: ignore vim .swp filesRuediger Meier2016-03-221-0/+1
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: no need to un-ignore tracked filesRuediger Meier2016-03-171-10/+0Star
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* libsmartcols: fix samples build, add title.cKarel Zak2016-01-251-4/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add lsns to gitignoreKarel Zak2015-11-271-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lsipc: new command to list IPC facilitiesKarel Zak2015-07-201-0/+1
| | | | | | Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* zrmactl: add new command to control /dev/zramN devicesKarel Zak2014-08-011-0/+1
| | | | | Co-Author: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use automake's PYTHON primary for __init__.pyRuediger Meier2014-06-031-0/+1
| | | | | | | | | | Actually the initial reason for this commit was to remove execute permission from installed __init__.py. Now after discovering automake's _PYTHON suffix we slightly cleanup Makemodule.am and we will install byte compiled .pyc and .pyo files. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* lslogins: add functionalityOndrej Oprala2014-05-151-0/+1
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* cytune: remove from util-linuxSami Kerola2014-05-121-1/+0Star
| | | | | | | | | | | Assumption is there are not many who need this tool. Whom ever they might be the recommendation is to use the command from old util-linux release. Second reason to removal is difficulty to test hardware specific command when none of the active project members does not seem to have such. Basically the command has reached dead end what comes to maintainability of it. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: sort gitignore filesSami Kerola2014-03-121-34/+33Star
| | | | | | Use 'LC_ALL=C sort -fu' order for all lists. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* nologin: add new commandKarel Zak2013-09-301-0/+1
| | | | | | | Currently it's maintained as distro specific (or people use impolite /bin/false way). Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add *vim and clang_complete to gitignoreKarel Zak2013-09-121-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: complete elvtune removalSami Kerola2013-08-231-1/+0Star
| | | | | | | | The first removal managed to remove only most of the elvtune, this commit will complete the task. Original-removal: 7f1fe74248290c50f5447c2c09fcf0f0575a7666 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* pylibmount: add __init__.pyOndrej Oprala2013-08-191-0/+1
| | | | | Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* chkdupexe: remove, deprecated for yearsKarel Zak2013-03-141-2/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* setpriv: run a program with different Linux privilege settingsAndy Lutomirski2013-02-051-0/+1
| | | | | | | | | | | | This new command can set no_new_privs, uid, gid, groups, securebits, inheritable caps, the cap bounding set, securebits, and selinux and apparmor labels. [kerolasa@iki.fi: a lot of small adjustment making the command to be good fit to util-linux project] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Andy Lutomirski <luto@amacapital.net>
* build-sys: add nsenter to gitignoreSami Kerola2013-01-251-0/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add gcov files to .gitignoreSami Kerola2013-01-241-0/+3
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* ddate: remove from util-linuxSami Kerola2012-10-151-1/+0Star
| | | | | | | | | | | See RedHat bug for reasons why the ddate is cleaned up. The reference is where to get the command in future. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=823156 References: https://github.com/bo0ts/ddate Acked-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* blkdiscard: add new commandLukas Czerner2012-09-281-0/+1
| | | | | | | | | | | | | blkdiscard is used to discard device sectors. This is useful for solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim this command is used directly on the block device. blkkdiscard uses BLKDISCARD ioctl or BLKSECDISCARD ioctl for the secure discard. All data in the discarded region on the device will be lost! Signed-off-by: Lukas Czerner <lczerner@redhat.com>
* Revert "blkdiscard: new command"Karel Zak2012-09-281-1/+0Star
| | | | | | | This was only attempt as alternative implementation, unfortunately pushed publicly... sorry. This reverts commit c84ed54cefdcaa07f3d1f40a65434c9d4277da08.
* blkdiscard: new commandKarel Zak2012-09-271-0/+1
| | | | | | | | | | | Add to fstrim(8) code to support new discard BLKDISCARD and BLKSECDISCARD ioctls for block devices. The new command is only symlink to fstrim(8) as the both utils share some code and the basic ideas. Based on patch from Lukas Czerner <lczerner@redhat.com>. Signed-off-by: Karel Zak <kzak@redhat.com>
* runuser: new command (derived from su(1))Karel Zak2012-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This command is based on su(1), the differences: - based on Fedora runuser su(1) patch - not installed with suid rights - allowed for root users only - don't ask for password - uses PAM session, for example: $ cat /etc/pam.d/runuser auth sufficient pam_rootok.so session optional pam_keyinit.so revoke session required pam_limits.so session required pam_unix.so $ cat /etc/pam.d/runuser-l auth include runuser session optional pam_keyinit.so force revoke session include runuser Signed-off-by: Karel Zak <kzak@redhat.com>
* resizepart: add new commandKarel Zak2012-08-131-0/+1
| | | | | | | This is a simple wrapper for BLKPG_RESIZE_PARTITION (since kernel 3.6). Co-Author: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add files make check generates in gitignoreSami Kerola2012-08-061-0/+4
| | | | | | | | The config/test-driver appears at automake stage, rest after running 'make check'. Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use slash for binaries in gitignoreKarel Zak2012-07-311-109/+107Star
| | | | | | | .. otherwise git interprets binaries names as shell blog and apply the pattern globally. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add UL_PROG_CLANG function, rename warnings.m4 -> compiler.m4Karel Zak2012-07-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* utmpdump: new command, merge from sysvinitKarel Zak2012-06-291-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup .gitignore filesKarel Zak2012-06-261-0/+115
| | | | | | | - move all binaries to top-level .gitignore - remove unnecessary */.gitignore files Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: ignore .dirstamp fileKarel Zak2012-06-261-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add compiler warningsKarel Zak2012-06-061-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: rename and move macrosKarel Zak2011-11-031-0/+3
| | | | | | | - use m4/ul.m4 for util-linux macros - use UL_ prefix for all util-linux macros Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use AUTOMAKE_OPTIONS = gnuSami Kerola2011-05-261-0/+1
| | | | | | | | | | | | | | | | | The change will cause make dist to have INSTALL file from automake release, which hopefully is more up to date than manually maintained version. The gnu option will also require ChangeLog to be present, and without doubts no-one wants to maintain that manually. I added file to reference link to internet git repository view. At the time of make dist current tag is added to the ChangeLog reference which will make release to point exactly to the point where changes ended. Minor drawback is that untagged make dist releases will contain a broken link in ChangeLog. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: use git-version-gen to distinct git and release versionsSami Kerola2011-04-051-0/+2
| | | | | | | | | | | The script is copied as is from gnulib. [kzak@redhat.com: - generate .tarball-version and .version files in top level Makefile.am - delete autom4te.cache in autogen.sh] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: ignore generated ltmain.shKarel Zak2011-01-051-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use generated libtool-2 stuffKarel Zak2011-01-051-9/+0Star
| | | | | | | | | The commit 60a4edd66200be829560dce0d41a02fc70cef4f5 temporary disabled libtool-2 in autogen.sh. It seems that libtool-2 in available in many distributions now, so we don't have to manage the generated .m4 libtool files in git anymore. Signed-off-by: Karel Zak <kzak@redhat.com>
* git: ignore index files generated by ctags and cscopePetr Uzel2010-05-281-0/+2
| | | | Signed-off-by: Petr Uzel <petr.uzel@suse.cz>