summaryrefslogtreecommitdiffstats
path: root/misc-utils/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetitKarel Zak2011-08-311-2/+0Star
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetit: docs: remove duplicated text docs: require kernel support before accepting use of it docs: note about independent super block structs docs: add libmount & libblkid debug instructions Documentation: add debugging doc arch: start using arch as a usage() example docs: new file Documentation/release-schedule.txt docs: move setuid information from reame to hwclock.8 docs: clean up old readme files docs: copy contributors from legacy files to AUTHORS docs: new file Documentation/howto-man-page.txt docs: new file Documentation/source-code-management.txt docs: new file Documentation/howto-contribute.txt docs: new file Documentation/howto-compilation.txt docs: tell what the Documentation/ is about docs: add usage() howto for contributors docs: Documentation directory added docs: remove README.clear
| * docs: Documentation directory addedSami Kerola2011-08-121-2/+0Star
| | | | | | | | | | | | | | | | Move readme, licence, change log, relese notes and other supplementary files to a Documentation directory. This commit does not change contents of any other but few Makefile.am files. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | build-sys: add --enable-ddateKarel Zak2011-08-181-2/+7
|/ | | | | | Don't build this crazy thing by default. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: remove README.nameiSami Kerola2011-08-021-1/+1
| | | | | | | Since rewrite (commit c84a633) the readme file has not made sense. Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move write to term-utils directorySami Kerola2011-06-251-15/+0Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* misc-utils: remove misleading README filesSami Kerola2011-06-251-2/+2
| | | | | | Clean up of files which primarily caused confusion. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cal: argument checking, long options and argument checkingSami Kerola2011-06-251-1/+1
| | | | | | | Check numeric user inputs with strtol_on_err. Add long options with nice looking usage. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* lsblk: use generic sysfs functionsKarel Zak2011-05-161-1/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: add --timeout optionKarel Zak2011-04-271-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [tt.c] use mbs_truncate() from mbsalign.cKarel Zak2011-03-111-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* logger: support long optionsSami Kerola2011-03-081-0/+1
| | | | | | | | | | | Use getopt_long and usage output changed to match long options. This patch will also scrutiny argument of formerly undocumented -P option. [kzak@redhat.com: - include c.h] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move reset to term-utils/Karel Zak2011-03-021-6/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move script and scriptreplay to term-utils/Karel Zak2011-03-021-12/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move setterm to term-utils/Karel Zak2011-03-021-12/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* kill: add -q sigval to use sigqueue(2)Karel Zak2011-02-281-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: don't build lsblk on Linux without openat()Karel Zak2011-02-111-1/+1
| | | | | Reported-by: Peter Breitenlohner <peb@mppmu.mpg.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable lsblk and libmount for Linux onlyKarel Zak2011-01-311-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix lsblk buildingKarel Zak2010-11-241-7/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lsblk: add new utilityMilan Broz2010-11-241-2/+9
| | | | | Signed-off-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [strutils] move strmode() from namei.c to strutils.cKarel Zak2010-11-241-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [strutils] general purpose string handling functionsDavidlohr Bueso2010-11-231-2/+2
| | | | | | | | | | | | | This patch replaces a few functions used throughout the source: * Renames getnum (from schedutils) to strtol_or_err * Moves strtosize (from lib/strtosize.c) * Moves xstrncpy (from include/xstrncpy.h) * Adds strnlen, strnchr and strndup if not available (remove it from libmount utils) A few Makefile.am files were modified to compile accordingly along with trivial renaming in schedutils source code. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* cal: follow HAVE_LANGINFOKarel Zak2010-11-151-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: follow HAVE_LANGINFOKarel Zak2010-11-151-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup lib{mount,blkid} buildingKarel Zak2010-06-081-5/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: move from /sbin to /binKarel Zak2010-06-031-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: add man pageKarel Zak2010-06-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: rewrite to use lib/tt.cKarel Zak2010-06-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt: add new commandKarel Zak2010-06-031-1/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: replace ../ with $top_srcdirKarel Zak2010-05-241-3/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* script: optionally compile with libutempter to update utmpKarel Zak2010-04-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use --with-utempter to enable utempter support. The libutempter calls /usr/libexec/utempter/utempter suid helper to update utmp and wtmp files. Old version: $ script Script started, file is typescript $ who i am $ exit Script done, file is typescript New version: $ script Script started, file is typescript $ who i am kzak pts/6 2010-04-29 12:30 $ exit Script done, file is typescript Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=477753 Signed-off-by: Karel Zak <kzak@redhat.com>
* wipefs: support suffixes for --offsetKarel Zak2010-03-301-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: support suffixes for -O <offset> and -S <size>Karel Zak2010-03-301-1/+1
| | | | | | for example: blkid -p -O 17816085KiB /dev/sda Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: factor out and update multibyte alignment codePádraig Brady2010-03-161-0/+1
| | | | | | | | | | | | | * include/mbsalign.h: New module interface * lib/mbsalign.c: Updated implementation synced from coreutils * include/Makefile.am: Add mbsalign.h * misc-utils/Makefile.am: Make cal dependent on mbsalign module * misc-utils/cal.c: Call mbsalign() [kzak@redhat.com: - use min() macro from c.h] Signed-off-by: Pádraig Brady <P@draigBrady.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup AM_CFLAGS usageKarel Zak2009-11-091-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix out-of-source buildKarel Zak2009-11-061-4/+4
| | | | | | The blkid.h file is generated and stored in $top_builddir. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove LT_STATIC_LDFLAGSKarel Zak2009-11-051-1/+1
| | | | | | It was really stupid idea to use *_LDFLAGS for some global variable. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup static buildingKarel Zak2009-11-051-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add pretty output, document -L incompatibility with e2fsprogsKarel Zak2009-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | ... sad story, I have temporary disabled pretty-output code in very early version of blkid.c in u-l-ng. (It was also in time when pretty-output was very new feature in e2fsprogs.) Unfortunately, the -L option (shortcut to "-o list") in u-l-ng version was reused for for any other functionality few months later.... this stupid thing was released in u-l-ng 2.15 and 2.16 without any negative feedback from users. It means the blkid from u-l-ng is not backwardly compatible with the original version from e2fsprogs. The -L option has a different meaning there. I'm sorry about this bug... This patch: * enable pretty-output (-o line) * add a note about incompatibility between u-l-ng and e2fsprogs to blkid.8 man page Signed-off-by: Karel Zak <kzak@redhat.com>
* wipefs: new commandKarel Zak2009-10-061-2/+4
| | | | | | | | | | | | | | | | # ./wipefs /dev/sda4 offset type ---------------------------------------------------------------- 0xff6 swap [other] UUID: da6c54ea-77d9-470a-82f1-e793fd5d9131 0x36 vfat [filesystem] UUID: 497F-3013 # ./wipefs --offset 0x36 /dev/sda4 8 bytes [46 41 54 31 32 20 20 20] erased at offset 0x36 (vfat) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: rename to _execdirKarel Zak2009-07-041-11/+11
| | | | | | | | | | | | The variable name "usrlibexecdir" is very confusing (because we have /usr/libexec). The "exec" prefix is required for user-defined directories, see http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install This patch renames all usr*execdir variables to usr*_execdir. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: move to misc-utils/ directoryKarel Zak2009-07-021-0/+17
| | | | | | | The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidd: move uuidd.rc to misc-utils directoryKarel Zak2009-06-301-1/+1
| | | | | | The file should be on more visible place. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix --disable-uuiddKarel Zak2009-06-281-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidd: new command (UUID daemon from e2fsprogs)Karel Zak2009-05-221-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidgen: new command (from e2fsprogs)Karel Zak2009-05-221-1/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* scriptreplay: rewrite in CKarel Zak2008-04-141-3/+3
| | | | | | | | The dependence on Perl sucks... Co-Author: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: James Youngman <jay@gnu.org>
* build-sys: use ncursesw (wide version) when possibeKarel Zak2008-03-201-3/+3
| | | | | | | | | | Detect ncursesw and use it in place of ncurses when possible (default). Allow people to use classic (non-wide) version by --with-ncurses or disable all ncurses/ncursesw support by --without-ncurses. Co-Author: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use dist_man_MANS instead of man_MANSStepan Kasal2007-12-171-6/+6
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: non-linux supportSamuel Thibault2007-11-081-0/+2
| | | | | | | Here is a patch that disables linux-specific tools on non-linux targets. Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-Off-By: Karel Zak <kzak@redhat.com>
* cal: add support for highlighting an arbitrary datePádraig Brady2007-10-111-6/+0Star
| | | | | | | | | | | | | | | | | This is done by calling cal with the extra day parameter like: cal 14 9 1752 Note the tests were updated to use the new syntax. Note also that this patch changes the -y option to always print a full year, even if a month or the -[13] options are specified. This matches the cal operation from bsdmainutils on debian and also allows one to print a full year while highlighting a particular date. Signed-off-by: Pádraig Brady <P@draigBrady.com>