summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.c
Commit message (Collapse)AuthorAgeFilesLines
...
* translation: unify file open error messagesSami Kerola2012-07-161-1/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* Merge branch 'close_stream' of git://github.com/kerolasa/lelux-utiliteetitKarel Zak2012-04-111-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'close_stream' of git://github.com/kerolasa/lelux-utiliteetit: disk-utils: verify writing to streams was successful fdisk: verify writing to streams was successful getopt: verify writing to streams was successful hwclock: verify writing to streams was successful login-utils: verify writing to streams was successful misc-utils: verify writing to streams was successful mount: verify writing to streams was successful partx: verify writing to streams was successful schedutils: verify writing to streams was successful sys-utils: verify writing to streams was successful term-utils: verify writing to streams was successful text-utils: verify writing to streams was successful include: add stream error checking facility Conflicts: fdisk/fdisk.c
| * disk-utils: verify writing to streams was successfulSami Kerola2012-04-041-0/+2
| | | | | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | fsck: don't free fstab table on parse failureDave Reisner2012-04-101-1/+0Star
|/ | | | | | | | | Even if we fail parsing, fstab gets referenced later in the code (and will subsequently crash via heap corruption). Take the easy way out and simply avoid deallocating this table, as it will be freed for us on program exit regardless. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
* fsck: tiny coding style fixKarel Zak2012-03-201-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: use gettimeofday() for real elapsed time statisticKarel Zak2012-03-201-10/+13
| | | | | | and use shorter "rss" rather than "maxrss" keyword in stats output Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: Add a -r option to report memory and runtime statisticsFrank Mayhar2012-03-201-1/+43
| | | | | | | | | | | | | | This patch adds a "-r" option to report statistics for each fsck run. It gathers the statistics via wait4() and rusage and reports exit status, system and user CPU time, elapsed wall-clock time and the max RSS. [kzak@redhat.com: - rebase to the latest code, - report all on one line, - use "real" rather than "elapsed"] Signed-off-by: Frank Mayhar <fmayhar@google.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: move to disk-utils directoryKarel Zak2012-03-201-0/+1513
Signed-off-by: Karel Zak <kzak@redhat.com>