summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: inform gtk-doc about __ul_attribute__Karel Zak2013-03-151-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: fix docs commentKarel Zak2013-03-151-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* chkdupexe: remove, deprecated for yearsKarel Zak2013-03-147-188/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* arch: remove the command, deprecated since 2.13, use coreutils versionKarel Zak2013-03-145-148/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: add FREQ and PASSNO columnsKarel Zak2013-03-141-1/+17
| | | | | | | ... to provide all information from fstab. Reported-by: Roger Leigh <rleigh@codelibre.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: support --list=<signal>Karel Zak2013-03-132-10/+18
| | | | | | The '=' is expected for optional arguments and required in procps version. Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: add pretty printed list output (for compatibility with procps)Sami Kerola2013-03-132-48/+89
| | | | | | | | * add -L, --table References: http://www.freelists.org/post/procps/kill1-consolidation Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/Josh Triplett2013-03-131-1/+1
| | | | | | | | | | | This typo causes namespace.h to always unconditionally define CLONE_NEWNS rather than using the system definition. Bug present since the initial version of unshare in commit 4205f1fda1ac32046125a2e0f3937b666186bfab. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Anton Cherkashyn <mail@antonc.com>
* include/timer: return setitimer return valueKarel Zak2013-03-131-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsfreeze: check for collision between optionsKarel Zak2013-03-131-1/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include/optutils: make collisions detection between options more robustKarel Zak2013-03-131-4/+12
| | | | | | | - don't rely on the correct ul_excl_t usage - don't print --(null) for non-existing long options Signed-off-by: Karel Zak <kzak@redhat.com>
* fsfreeze: clean up usage(), add -VKarel Zak2013-03-132-16/+20
| | | | | | | | | - clean up usage() - add -V,--version - print usage() if not action specified - update man page Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: use include/timer.hKarel Zak2013-03-131-18/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: add timer.hKarel Zak2013-03-132-0/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: use strtotimeval() from libcommonKarel Zak2013-03-131-12/+4Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/strutils: add strtotimeval_or_err()Karel Zak2013-03-132-0/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: use new API from lib/procutils.cKarel Zak2013-03-124-145/+24Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/procutils: add simple API to scan /proc/PID/*Karel Zak2013-03-123-4/+146
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move fallocate test fileKarel Zak2013-03-121-3/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move tailf test inputKarel Zak2013-03-121-5/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/procutils: test refactoringKarel Zak2013-03-121-4/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add long options and tidy up kill.1Sami Kerola2013-03-121-41/+45
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* kill, procs: use pid_t for pidsSami Kerola2013-03-123-13/+13
| | | | | | Reference: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/linux/threads.h#n30 Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: use libc error printing facilities and exit valuesSami Kerola2013-03-122-33/+25Star
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: align with howto-usage-function.txtSami Kerola2013-03-121-7/+21
| | | | | | | | | [kzak@redhad.com: - s/commandname/name/ - improve --all description - add -h/--help] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: add long optionsSami Kerola2013-03-121-5/+5
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fdisk: improve MBR detectionKarel Zak2013-03-121-0/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: no more AIX "support"Karel Zak2013-03-129-157/+4Star
| | | | | | | | The whole AIX support in fdisk has been limited to pretty poor AIX magic string detection and warning that the AIX is unsupported. It's too expensive to maintain such fdisk driver. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk testsKarel Zak2013-03-128-13/+22
| | | | | | | | | - the new fdisk ask-partition-number dialog does not ask for non-senses (non-existing partitions etc.) - 'p'rint command prints disk label name (usually "dos" in the tests) Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: use comma in the ask-partition-number dialog (again)Karel Zak2013-03-121-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update aks-partition-number dialog (planned regression)Karel Zak2013-03-111-1/+1
| | | | | | | | | | | Since 2.23 the fdisk ask-partition-number dialog don't ask for partition number if there is only one partition. This was default in DOS driver, now it's default everywhere. For Sun/BSD it's regression... but we don't want to maintain any extra code --- sorry --- we don't want any exception in the code. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update 'odd input' fdisk testKarel Zak2013-03-112-2/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (bsd) support non-nested version tooKarel Zak2013-03-113-19/+7Star
| | | | | | | note that btrydev() should be unnecessary, regular list_table() should be enough for all types. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix typo in fdisk testKarel Zak2013-03-112-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update bsd testKarel Zak2013-03-111-25/+5Star
| | | | | | This is the correct 'L'ist partition types dialog output for BSD. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: ignore stderr in fdisk -lKarel Zak2013-03-112-16/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: remove comma from ask number dialogKarel Zak2013-03-111-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: use fdisk_ask_partnum() everywhereKarel Zak2013-03-112-86/+29Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (bds) use nested partition tableKarel Zak2013-03-113-34/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add support for nested contextsKarel Zak2013-03-113-2/+41
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: ignore nested BSD partitions if same like parentKarel Zak2013-03-111-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (dos) use new dialog to ask for prim. partitionsKarel Zak2013-03-111-27/+24Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: improve fdisk_ask_partnum()Karel Zak2013-03-111-9/+32
| | | | | | .. to don't ask is there is only one choice. Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add disk_partition_is_used()Karel Zak2013-03-113-15/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sun) cleanup header fileKarel Zak2013-03-111-3/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add fdisk_partition_toggle_flag()Karel Zak2013-03-119-41/+136
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sun) use fdisk_ prefix for label specific public functionsKarel Zak2013-03-113-18/+22
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: remove global unit variablesKarel Zak2013-03-117-121/+120Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: add info about display units to contextKarel Zak2013-03-113-0/+62
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: (sun) use yes/no from libfdiskKarel Zak2013-03-111-4/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>