summaryrefslogtreecommitdiffstats
path: root/sys-utils/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: support ./configure ADJTIME_PATH=Karel Zak2014-06-191-0/+2
| | | | | | | .. to override the default /etc/adjtime path. Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add sys-utils/uname26.8 to gitignoreKarel Zak2014-05-291-5/+6
| | | | | Reported-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* fstrim: add systemd unitsThomas Bächler2014-04-071-0/+1
| | | | | | | | This adds a timer and a service for systemd that runs fstrim -a once a day. The Persistent=true option used will only work on systemd 212 or newer.
* build-sys: sort gitignore filesSami Kerola2014-03-121-4/+4
| | | | | | Use 'LC_ALL=C sort -fu' order for all lists. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: cleanup .gitignore filesKarel Zak2012-06-261-32/+0Star
| | | | | | | - move all binaries to top-level .gitignore - remove unnecessary */.gitignore files Signed-off-by: Karel Zak <kzak@redhat.com>
* swapoff: move code from swapon.c to swapoff.cKarel Zak2012-04-181-0/+1
| | | | | | | | | * multipurpose binaries (symlinks) suck when used with autotools * swapoff shares small subset of the code with swapon * usage() and 'struct option' is unnecessary complex when shared * shorter and simple code is easer to maintain... Signed-off-by: Karel Zak <kzak@redhat.com>
* wdctl: add watchdog status toolLennart Poettering2012-04-161-0/+1
| | | | | | | | | | | | For: util-linux This patch adds a tiny tool "wdctl" which may be used to query the status of Linux watchdog devices (/dev/watchdog). This will simply query all fields that may be queried from the device and print them nicely formatted. Signed-off-by: Lennart Poettering <lennart@poettering.net>
* eject: use BUILD_EJECT, move to sys-utilsKarel Zak2012-04-051-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --enable-new-mountKarel Zak2012-01-111-0/+2
| | | | | | | | | | | | | | | | | Now we have three versions of the mount(8) utility * old mount(8) --enable-mount [default] * old mount(8) linked with libmount This is this is necessary for systems without mtab file. --enable-libmount-mount - new mount(8) This is completely new pure-libmount based mount(8). --enable-new-mount Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move swapon from mount/ to sys-utils/Karel Zak2012-01-111-0/+1
| | | | | | ... to make it independent on mount stuff. Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: move to sys-utils directoryKarel Zak2011-12-201-0/+1
| | | | | | Now losetup(8) is independent on mount/ stuff at all. Signed-off-by: Karel Zak <kzak@redhat.com>
* prlimit: new commandDavidlohr Bueso2011-10-211-0/+1
| | | | | | | | | | | | | This program uses the prlimit() system call to get and/or set resource limits for a given process. [kzak@redhat,com: - improve <soft:hard> parsing, - use short cmdline options compatible with ulimits - add --verbose mode - fix gcc warnings] Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* chcpu: new toolHeiko Carstens2011-08-221-0/+1
| | | | | | | | | | | | chcpu can modify the logical state of CPUs. It can enable and disable CPUs, scan for new CPUs, change the CPU dispatching mode of the underlying hypervisor and request (configure) or give logical CPUs back (deconfigure) to the the underlying hypervisor. This is quite useful if you work a lot with virtual servers, since doing all the configuration stuff directly via sysfs becomes a pain. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* mountpoint: add new commandKarel Zak2011-06-211-0/+1
| | | | | | | | | | This is libmount based re-implementation of the mountpoint(1) command. The original implementation is maintained in sysvinit suite. The mountpoint(1) in util-linux is not enabled by default (for now) -- use --enable-mountpoint to enable the util. Signed-off-by: Karel Zak <kzak@redhat.com>
* fstrim: add new commandLukas Czerner2010-11-261-0/+1
| | | | | | | | | fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* rdev: remove this deprecated commandKarel Zak2010-05-181-4/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsfreeze: new commandHajime Taira2010-05-141-0/+1
| | | | | | | | | | [kzak@redhat.com: - cleanup - add long options - add note about DM to the man page - use err.h and nls.h] Signed-off-by: Hajime Taira <htaira@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* unshare: new commandMikhail Gusarov2009-10-061-0/+1
| | | | | | | | | | | | New utility allows to run process with separate mount, UTC, IPC or network namespaces. [kzak@redhat.com: - some cosmetic changes in usage() and err() usage - move "if BUILD_UNSHARE" to separate place in Makefile.am - add unshare to .gitignore] Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* fallocate: new commandKarel Zak2009-09-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The fallocate(1) utility is used to preallocate blocks to a file. This can be useful for virtual images, database files, testing, etc. Normally we'd hope that various tools will start using preallocation internally, but until then such a utility may be useful, and could be scripted as well. The original Eric's version is available at: http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2490 This version: - checks for fallocate glibc function and kernel syscall - does not provide a fallback and does not call posix_fallocate() - adds long options - uses err.h for errro messages - adds NLS support - cleanups man page Co-Author: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* switch_root: new commandKarel Zak2009-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | Copied from Dracut project: git://dracut.git.sourceforge.net/gitroot/dracut switch_root history in dracut.git repository: $ git shortlog switch_root.c Harald Hoyer (5): replace switch_root shell script with binary add \n to switch_root use switch_root code from http://pjones.fedorapeople.org/mkstart/usr/lib/mkstart/switchroot.c mount move instead of umount and fix the search for fallback inits setsid() and set controlling terminal for real /sbin/init Victor Lowther (2): Simplify switch_root.c a bit Remove all files on the initramfs before switching root Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move pivot_root(8) to sys-utilsKarel Zak2008-11-191-14/+15
| | | | | | | | This patch moves pivot_root.{8,c) from mount/ to sys-utils/ directory. There is not ant relation between pivot_root source code and the rest of code in the mount. Signed-off-by: Karel Zak <kzak@redhat.com>
* ipcmk: new commandHayden James2008-09-101-0/+1
| | | | | | | | | | | Small patch to create an application that can easily create ad-hoc ipc resources, along with man page. [kzak@redhat.com: - rename from ipccreat to ipcmk - minor coding style changes] Signed-off-by: Hayden James <hayden.james@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: new commandCai Qian2008-07-181-0/+1
| | | | | | | | | | | | | | | Add a lscpu(1) utility program. [kzak@redhat.com: - indent by linux-2.6/scripts/Lindent - add lscpu.{c,1} to sys-utils/Makefile.am - add NLS suport - complete code refactoring ] Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Cai Qian <qcai@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: update .gitignore filesKarel Zak2008-04-141-1/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: ignore a bunch of generated files, mostly binariesJames Youngman2008-04-141-0/+16
Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>