summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: remove and ignore generated filesKarel Zak2011-07-284-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cfdisk: fix compilation with slangKarel Zak2011-07-281-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: tiny change in commentKarel Zak2011-07-281-1/+1
| | | | | | ... to keep 'make checkconfig' happy. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix 'make checkincludes' warningsKarel Zak2011-07-286-11/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update TODO fileKarel Zak2011-07-281-76/+69Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu testsKarel Zak2011-07-2716-16/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: extend --parse functionalityKarel Zak2011-07-273-56/+173
| | | | | | | | | | | | | | | | | | | | ... to allow define output columns, for example: $ lscpu --parse=CPU,CORE,NODE,CACHE # CPU,Core,Node,L1d:L1i:L2 0,0,0,0:0:0 1,1,0,1:1:0 Note that CPU caches are separated by ":" in the new format. The output for --parse (without the list of the columns) is backwardly compatible, it means: $ lscpu --parse # CPU,Core,Socket,Node,,L1d,L1i,L2 0,0,0,0,,0,0,0 1,1,0,0,,1,1,0 Signed-off-by: Karel Zak <kzak@redhat.com>
* include: [strutils.c] add list parsersKarel Zak2011-07-277-90/+110
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include; [tt.c] check for array size in columns parserKarel Zak2011-07-275-19/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix gtk-doc distcleanKarel Zak2011-07-273-5/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable mountpoint, add dependence on libmoutKarel Zak2011-07-271-4/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: fix gcc warning (uninitialized variable)Karel Zak2011-07-271-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'hwclock' of https://github.com/kerolasa/lelux-utiliteetitKarel Zak2011-07-279-2679/+2306Star
|\
| * hwclock: validate numeric option argumentsSami Kerola2011-07-263-6/+8
| | | | | | | | | | | | Instead atoi() use strtoul_or_err(). Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: move long options away from global scopeSami Kerola2011-07-261-52/+70
| | | | | | | | | | | | | | In addition `long only' options are made unreachable by using 8-bit characters. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: add variable initializationSami Kerola2011-07-261-2/+2
| | | | | | | | | | | | | | The only variable found causing `conditional jump or move depends on uninitialized value' is fixed. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: remove goto statementSami Kerola2011-07-261-13/+21
| | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: fix compiler warningsSami Kerola2011-07-262-35/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hwclock.c: In function 'manipulate_epoch': hwclock.c:1299:29: warning: unused parameter 'getepoch' [-Wunused-parameter] hwclock.c:1299:50: warning: unused parameter 'setepoch' [-Wunused-parameter] hwclock.c:1300:14: warning: unused parameter 'epoch_opt' [-Wunused-parameter] hwclock.c:1300:36: warning: unused parameter 'testing' [-Wunused-parameter] hwclock.c: In function 'usage': hwclock.c:1373:1: warning: embedding a directive within macro arguments is not portable [enabled by default] hwclock.c:1377:1: warning: embedding a directive within macro arguments is not portable [enabled by default] hwclock.c:1383:1: warning: embedding a directive within macro arguments is not portable [enabled by default] hwclock.c:1385:1: warning: embedding a directive within macro arguments is not portable [enabled by default] cmos.c: In function 'outb': cmos.c:84:15: warning: unused parameter 'a' [-Wunused-parameter] cmos.c:84:22: warning: unused parameter 'b' [-Wunused-parameter] cmos.c: In function 'inb': cmos.c:88:13: warning: unused parameter 'c' [-Wunused-parameter] cmos.c: In function 'atomic': cmos.c:265:20: warning: unused parameter 'name' [-Wunused-parameter] cmos.c: In function 'i386_iopl': cmos.c:544:32: warning: unused parameter 'level' [-Wunused-parameter] cmos.c: In function 'get_permissions_cmos': cmos.c:565:8: warning: unused variable 'errsv' [-Wunused-variable] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: move path definitions to pathnames.hSami Kerola2011-07-262-19/+18Star
| | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: use libc error printing functionsSami Kerola2011-07-265-207/+151Star
| | | | | | | | | | | | In addition numeric exit values are converted to defined strings. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: include-what-you-use header checkSami Kerola2011-07-264-17/+28
| | | | | | | | | | | | One deletion, few adds and sort to include lists. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: coding style clean upSami Kerola2011-07-265-2067/+2159
| | | | | | | | | | | | | | | | Despide amount of the change this change should be harmless. Everything is about indendation, comment restructuring etc not code changes. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: remove misleading informationSami Kerola2011-07-242-11/+1Star
| | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * hwclock: remove clock-ppc.cSami Kerola2011-07-241-459/+0Star
| | | | | | | | | | | | There is no need to keep this file hanging around anymore. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | libblkid: minor change in man pageKarel Zak2011-07-261-22/+17Star
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: remove generated fileKarel Zak2011-07-262-0/+0
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | build-sys: fix gtk-doc buildKarel Zak2011-07-261-2/+2
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | Merge branch 'cramfs' of https://github.com/kerolasa/lelux-utiliteetitKarel Zak2011-07-2614-558/+451Star
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit: include: move fsck return values to exitcodes.h include: move disk-utils/mkfs.h -> include/exitcodes.h mkfs.cramfs: coding style mkfs.cramfs: include-what-you-use header check mkfs.cramfs: error printing fixes mkfs.cramfs: convert spaces to tabs mkfs.cramfs: validate numeric user inputs mkfs.cramfs: few symbolic exit codes where missing md5: use symbolical digest length mkfs.cramfs: use program_invocation_short_name mkfs.cramfs: use xalloc.h fsck.cramfs: add missed strings to translation fsck.cramfs: coding style fsck.cramfs: use xalloc.h fsck.cramfs: retire die function cramfs.h: coding style cramfs: use stdint.h instead of u{8,16,32} cramfs_common: coding style Conflicts: disk-utils/Makefile.am Signed-off-by: Karel Zak <kzak@redhat.com>
| * | include: move fsck return values to exitcodes.hSami Kerola2011-07-222-9/+10
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | include: move disk-utils/mkfs.h -> include/exitcodes.hSami Kerola2011-07-226-13/+14
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: coding styleSami Kerola2011-07-221-27/+27
| | | | | | | | | | | | | | | | | | Clean up to two if clauses and fix to a version print out format. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: include-what-you-use header checkSami Kerola2011-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | add these lines: #include <stddef.h> // for size_t #include <zconf.h> // for Bytef, uLongf Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: error printing fixesSami Kerola2011-07-221-71/+45Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch will fix few starange looking errors such as: $ mkfs.cramfs -N foo invalid endianness given. Must be 'big', 'little', or 'host': Success to be more sensible: mkfs.cramfs: invalid endianness given. Must be 'big', 'little', or 'host' And there are couple new return value checks to stop command if out file cannot be opened, or an IO error occurs. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: convert spaces to tabsSami Kerola2011-07-221-44/+44
| | | | | | | | | | | | | | | | | | The conversion is applied only to the line beginnings. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: validate numeric user inputsSami Kerola2011-07-222-3/+4
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: few symbolic exit codes where missingSami Kerola2011-07-211-3/+3
| | | | | | | | | | | | | | | | | | This makes commit 89f56db1842e78bea0c6bc75028c3754489a9ad3 complete. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | md5: use symbolical digest lengthSami Kerola2011-07-216-12/+14
| | | | | | | | | | | | | | | | | | | | | Magic hash lenght number 16 is turned to a definition MD5LENGTH, and put into use everywhere where md5 checksum is in use. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: use program_invocation_short_nameSami Kerola2011-07-211-10/+3Star
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | mkfs.cramfs: use xalloc.hSami Kerola2011-07-211-33/+8Star
| | | | | | | | | | | | | | | | | | | | | Before this commit two strdup calls, in line 366 and 374, where able to fail silently and cause a rare bug. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | fsck.cramfs: add missed strings to translationSami Kerola2011-07-211-4/+4
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | fsck.cramfs: coding styleSami Kerola2011-07-211-219/+180Star
| | | | | | | | | | | | | | | | | | | | | Lots of braces got to be removed, which can cause something to break even everything is double checked. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | fsck.cramfs: use xalloc.hSami Kerola2011-07-211-24/+16Star
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | fsck.cramfs: retire die functionSami Kerola2011-07-211-69/+53Star
| | | | | | | | | | | | | | | | | | Replaced with err{,x} from libc. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | cramfs.h: coding styleSami Kerola2011-07-211-20/+25
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | cramfs: use stdint.h instead of u{8,16,32}Sami Kerola2011-07-204-24/+23Star
| | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| * | cramfs_common: coding styleSami Kerola2011-07-201-20/+24
| | | | | | | | | | | | | | | | | | Fix line lengths and white spaces. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | | libblkid: vfat big endian fixJindrich Makovicka2011-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | when getting the next cluster id, clear the 4 most significant bits after converting to machine endian Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
* | | libblkid: use 64bit offset in search_fat_label to avoid truncationJindrich Makovicka2011-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | [kzak@redhat.com: - use %jd for the offset in debug message] Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* | | scriptreplay: fix buffer overflowSami Kerola2011-07-261-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* | | whereis: update coding styleDavidlohr Bueso2011-07-261-190/+170Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | Like most 20th century Berkeley code, it's horrible: - declare global variables in only one place - add static attribute where it belongs - move funcion declarations so that it doesn't require defining them Signed-off-by: Davidlohr Bueso <dave@gnu.org>