summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.8
Commit message (Collapse)AuthorAgeFilesLines
* fsck: (man) labels are available for all filesystemsKarel Zak2019-03-281-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* man: Use the correct macro for a font change of one argumentBjarni Ingi Gislason2018-05-231-1/+1
| | | | | | | | Use the correct macro (I, B) for the font change of one argument, not those that are used for alternating two fonts, like "BR", "IR", "RB", or "RI". Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
* fsck: add --help and --versionRuediger Meier2017-06-221-0/+6
| | | | | | | | | | Also cleanup usage() function, never write usage to stderr. FIXME: - currently strtou32_or_err() exits with wrong exit code. - option -C does not use a safe strto*_err function Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* man: fix couple tools/checkmans.sh warningsSami Kerola2017-01-101-1/+1
| | | | | | | | | | <standard input>:407: warning: macro `fi.' not defined (possibly missing space after `fi') From: cat ./disk-utils/fsck.8 | troff -mandoc -ww -z <standard input>:71: warning: escape character ignored before `1' From: cat ./disk-utils/partx.8 | troff -mandoc -ww -z Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: various pages: Format pathnames as italic (.I)Michael Kerrisk2016-12-091-6/+6
| | | | | | | | | In the majority of pages, pathnames are formatted as Italic, which is the norm. However, there are several cases where they are formatted as bold. This patch fixes a number of those exceptions. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com>
* misc: spelling, always use "cannot" instead of "can not"Ruediger Meier2016-11-301-1/+1
| | | | | | Just to be consistent ... Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-3/+3
| | | | | | | | | | | | This patch does only the following: * Order SEE ALSO entries first by section name, then alphabetically within section * Adds one or two missing commas in SEE ALSO lists * Removes one or two periods that were (inconsistently) used at the end of SEE ALSO lists. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* fsck: remove fs-specific options from man pageKarel Zak2016-09-061-65/+12Star
| | | | | | | | Let's force users to read fs-specific man pages rather than try to be smart and maintain some non-fsck options in fsck.8. Reported-by: Matej Cepl <mcepl@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: Fix various typosSebastian Rasmussen2016-05-311-2/+2
| | | | Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
* fsck: implement fsck -r {fd}Stanislav Brabec2015-04-281-2/+11
| | | | | | | | | | | | | | | | | | | | Make possible sending of statistics to a dedicated file descriptor. Rationale: When UI is calling fsck from a remote terminal, fsck progress needs to be sent to stdout. It is mixed there with output of statistics, and it is impossible to parse the output to get the statistics. Now it will be possible e. g. with "fsck -C -r 3 /dev/sda1" Note: Code in if and else is intentionally partially duplicated. Current human readable output of floats does not conform to locale conventions, and may be changed in future. But we want to keep machine readable output exactly same as it is now. [kzak@redhat.com: - don't use report_stats_fd globally] Signed-off-by: Stanislav Brabec <sbrabec@suse.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: use PATH or fallback to /sbinKarel Zak2015-04-271-19/+6Star
| | | | | | | | | | | It's overkill to support all the obscure paths like /sbin/fs.d. We have PATH for customization, that's enough. It still seems like a good idea to keep fsck robust, because it's used by boot scripts/systemd. For this reason fsck fallbacks to "/sbin" if PATH is undefined or empty. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2015-01-121-1/+0Star
| | | | | | | Transform some of them into copyright lines. Also fix three header lines and snip some trailing whitespace. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: fix some wording, grammar and formatting in man page of swaponBenno Schulenberg2014-11-071-1/+1
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: update info about env debug variablesKarel Zak2014-11-031-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* various: erase all traces of the long-obsolete xiafsBenno Schulenberg2014-07-281-1/+0Star
| | | | | | | | The xiafs filesystem was removed from the kernel fifteen years ago, and any kernel that contained it reached end of life ten years ago. It's time to stop mentioning it in the mount man page and elsewhere. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fsck: use private lock file rather than whole-disk directlyKarel Zak2014-06-091-2/+3
| | | | | | | | | | | It seems overkill to lock directly whole-disk device (for -l) when we use the lock only to synchronize fsck instances. It's fsck private business, so don't use system files, but let's use private /run/fsck/<diskname>.lock file. Addresses: https://bugs.freedesktop.org/show_bug.cgi?id=79576 Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: Some typographical corrections to the manualBjarni Ingi Gislason2014-04-071-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | The word "kilobytes" is ambiguous. Change it to "kibibytes" if kilo does not mean 1000. Otherwise add "(1000 B)" after it. A string, that begins or ends with a full stop (.), protected with \& - changed to \- if it shows an option -- change to \(en if it means a dash (pause, separation) Space between sentences is two word spaces in *roff. Thus it is better to begin each sentence on a new line when the file contains formatting commands --- changed to \(en if it means a dash (pause, separation) Punctuation separated from a word with a space, if it is an argument to a macro like "BR" (two font styles used alternately) Adjusting inhibited for the section "SEE ALSO" with ".na/.ad" Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck: add ext4 to list of filesystems with progress bars in fsck man pagePhillip Susi2013-11-191-1/+1
| | | | Signed-off-by: Phillip Susi <psusi@ubuntu.com>
* docs: make the section AVAILABILITY always come last in man pagesBenno Schulenberg2013-03-201-9/+9
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fsck: mark file descriptor for -C as optional in help textBenno Schulenberg2013-01-301-7/+8
| | | | | | Also slightly improve the man page. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* fix bold style of man page referencesMike Frysinger2012-10-091-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libmount: document LIBMOUNT_DEBUG usersDavidlohr Bueso2012-09-041-0/+3
| | | | | | | Update the manpages of programs that use this environment variable for extra debugging information. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* blkid: document LIBBLKID_DEBUG usersDavidlohr Bueso2012-09-041-0/+3
| | | | | | | Update the manpages of programs that use this environment variable for extra debugging information. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* docs: fix all man page groff warningsSami Kerola2012-06-021-2/+2
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* fsck: use gettimeofday() for real elapsed time statisticKarel Zak2012-03-201-1/+1
| | | | | | 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/+9
| | | | | | | | | | | | | | 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/+453
Signed-off-by: Karel Zak <kzak@redhat.com>