From: Lennart Poettering Date: Tue, 26 Jun 2012 22:37:36 +0000 (+0200) Subject: man: document systemd-fsck X-Git-Tag: v186~77 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a32f224aafaf47d3489a730259a47ef45781193e man: document systemd-fsck --- diff --git a/Makefile.am b/Makefile.am index a3d5a181b..fc08daa53 100644 --- a/Makefile.am +++ b/Makefile.am @@ -493,7 +493,8 @@ MANPAGES = \ man/systemd-initctl.service.8 \ man/systemd-shutdownd.service.8 \ man/systemd-suspend.service.8 \ - man/systemd-halt.service.8 + man/systemd-halt.service.8 \ + man/systemd-fsck@.service.8 MANPAGES_ALIAS = \ man/reboot.8 \ @@ -512,7 +513,8 @@ MANPAGES_ALIAS = \ man/systemd-shutdown.8 \ man/systemd-poweroff.service.8 \ man/systemd-reboot.service.8 \ - man/systemd-kexec.service.8 + man/systemd-kexec.service.8 \ + man/systemd-fsck-root.service.8 man/reboot.8: man/halt.8 man/poweroff.8: man/halt.8 @@ -531,6 +533,7 @@ man/systemd-shutdown.8: man/systemd-halt.service.8 man/systemd-poweroff.service.8: man/systemd-halt.service.8 man/systemd-reboot.service.8: man/systemd-halt.service.8 man/systemd-kexec.service.8: man/systemd-halt.service.8 +man/systemd-fsck-root.service.8: man/systemd-fsck@.service.8 XML_FILES = \ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} diff --git a/TODO b/TODO index 747a9f335..a2953ba73 100644 --- a/TODO +++ b/TODO @@ -25,6 +25,12 @@ Bugfixes: Features: +* efi: implement /forcefsck as uefi variables thus not requiring file system altering to trigger a file system check + +* efi: honour language efi variables for default language selection + +* efi: honour timezone efi variables for default timezone selection + * new dependency type to "group" services in a target * add switch to journalctl to only show data from current boot diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index 3efd59d1b..99908418e 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -160,7 +160,7 @@ Parameter understood by the file system checker services. For details see - systemd-fsck-root.service8. + systemd-fsck@.service8. @@ -280,7 +280,7 @@ systemd1, bootparam7, dracut.cmdline7, - systemd-fsck-root.service8, + systemd-fsck@.service8, systemd-quotacheck.service8, systemd-journald.service8, systemd-vconsole-setup.service8, diff --git a/man/systemd-fsck@.service.xml b/man/systemd-fsck@.service.xml new file mode 100644 index 000000000..ad980a79a --- /dev/null +++ b/man/systemd-fsck@.service.xml @@ -0,0 +1,110 @@ + + + + + + + + systemd-fsck@.service + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-fsck@.service + 8 + + + + systemd-fsck@.service + systemd-fsck-root.service + systemd-fsck + File system checker logic + + + + systemd-fsck@.service + systemd-fsck-root.service + /usr/lib/systemd/systemd-fsck + + + + Description + + systemd-fsck@.service is a + service responsible for file system checks. It is + instantiated for each device that requires a file + system + check. systemd-fsck@.service is + responsible for file system checks on the root + file system. + + systemd-fsck will + forward file system checking progress to the + console. If a file system check fails emergency mode + is activated, by isolating to + emergency.target. + + + + Kernel Command Line + + systemd-fsck understands + one kernel command line parameter: + + + + fsck.mode= + + One of + auto, + force, + skip. Controls the + mode of operation. The default is + auto, and ensures + that file system checks are done when + the file system checker deems them + necessary. force + unconditionally results in full file + system checks. skip + skips any file system + checks. + + + + + + See Also + + systemd1, + fsck8, + systemd-quotacheck.service8 + + + + diff --git a/man/systemd-vconsole-setup.service.xml b/man/systemd-vconsole-setup.service.xml index b4ad3c271..b31177e58 100644 --- a/man/systemd-vconsole-setup.service.xml +++ b/man/systemd-vconsole-setup.service.xml @@ -82,7 +82,7 @@ vconsole.keymap.toggle= Overrides the key - mapping table for the keybaord and the + mapping table for the keyboard and the second toggle keymap. diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in index 517dee70b..a519e270d 100644 --- a/units/systemd-fsck-root.service.in +++ b/units/systemd-fsck-root.service.in @@ -7,6 +7,7 @@ [Unit] Description=File System Check on Root Device +Documentaiton=man:systemd-fsck@.service(8) DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service Before=local-fs.target shutdown.target diff --git a/units/systemd-fsck@.service.in b/units/systemd-fsck@.service.in index 4c595772d..fe1b7be80 100644 --- a/units/systemd-fsck@.service.in +++ b/units/systemd-fsck@.service.in @@ -7,6 +7,7 @@ [Unit] Description=File System Check on %f +Documentaiton=man:systemd-fsck@.service(8) DefaultDependencies=no BindTo=%i.device After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device