aboutsummaryrefslogtreecommitdiff
path: root/init.d/fsck.in
AgeCommit message (Collapse)Author
2016-07-31init.d: initial service adjustments for docker supportWilliam Hubbs
Add -docker keyword to the same scripts that have -lxc keyword.
2016-01-13allow the user to decide whether fsck aborts for errorsjoe9
X-Gentoo-Bug: 564008 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2015-05-01Disable service scripts for systemd-nspawnMike Gilbert
This adds the -systemd-nspawn keyword to service scripts which are not intended to run in systemd-nspawn containers. This fixes #52. X-Gentoo-Bug: 548058 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
2013-12-29Rename runscript to openrc-runWilliam Hubbs
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-10-14Add uml keyword to fsck service.Alexander V Vershilov
Fix relevant an issue mentioned by Toralf Förster. X-Gentoo-Bug: 481096. X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=481096
2013-04-27fsck: fix typoEugeny Shkrigunov
X-Gentoo-Bug: 467158 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=467158
2013-02-23Fix shebangs in services to point to the correct location of runscriptAndrew Gregory
SBINDIR and BINDIR can be set independently of PREFIX. This fixes broken shebangs in service files when SBINDIR is set to something other than PREFIX/sbin Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2012-12-18fsck: simplify skiplist setupMike Frysinger
Use printf rather than a manual for loop. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-07-26Bring Back prefix supportWilliam Hubbs
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
2012-03-29init.d/fsck: only check local file systemsWilliam Hubbs
On linux systems, fsck was not taking into account which filesystems were local or remote. This commit adds the -t option, with an appropriate value, to the fsck call so that remote file systems are not checked. reported-by: Vladimir Berezhnoy <non7top@gmail.com> X-Gentoo-Bug: 408363 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=408363
2012-02-21Remove prefix supportWilliam Hubbs
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
2011-11-26fsck: fix typo in fsck mount point supportMike Frysinger
Previous commit e3b39a677b535bc2 missed adding a "[" to one of the tests. Reported-by: Torsten Veller <tove@gentoo.org> x-Gentoo-Bug: 391941 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391941 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-22Revert "Revert "fsck: add the ability to specify mount points to check""William Hubbs
This reverts commit 5a3599df8a15b1212857335101c9d31fb19e87e2. After review, I am bringing this back to the tree.
2011-11-06Revert "fsck: add the ability to specify mount points to check"William Hubbs
This reverts commit e3b39a677b535bc2676a939519906f6b2dbce6f4. I misunderstood and thought this was ready to go in the tree, but it was on a remote branch only for a review.
2011-11-06fsck: add the ability to specify mount points to checkRobin H. Johnson
2011-10-16fix random typosMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-12-10Move on_ac_power to a shell script.Roy Marples
Fixes #204
2009-11-10fsck only checks battery when requested, which is not by default.Roy Marples
This fixes having JFS as the root partition on battery power. For most modern FS's this is a non op, or a very small op by default so it should be fine. Fixes Gentoo #291654.
2009-11-04Add support for Linux Containers, fixes #202.Roy Marples
Patch by bug reporter.
2009-10-12EeePC 901 has /proc/acpi/ac_adapter/AC0, so check all AC entries.Semen Maryasin
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-29Skip sysctl errorsRoy Marples
2009-05-29Add FreeBSD support for AC power.Roy Marples
2009-05-29Support NetBSD envstat for working out if on AC power.Roy Marples
2009-05-29If not running on AC power don't run fsck to preserve battery life.Roy Marples
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-27Style.Roy Marples
2009-03-16We should abort boot on some errors.Roy Marples
2008-12-29Add parens, #134 thanks to Matthias Schwarzott.Roy Marples
2008-12-28Skip all forcefsck checking when stopping, #134.Roy Marples
2008-12-28Fake get_bootparam function so that we don't check for kernel options ↵Roy Marples
forcefsck when doing an fsck on shutdown.
2008-11-04Now the linx fsck man page has return codes, I find them different from the ↵Roy Marples
BSD's so adjust accordingly.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-09-22Allow forcefsck on the kernel command line, Gentoo #218431Roy Marples
2008-05-27Trap fsck for SIGINT as well, so user can ctrl-C to abort fsck and continue, ↵Roy Marples
Gentoo #223473.
2008-05-25Fix passno and IFS, #77 and #85, thanks to NahorRoy Marples
2008-04-22When fsck_passno is set, show this so output is clearer when fsck is ↵Roy Marples
multiplexed, Gentoo #218141.
2008-04-17Respect shutdown -F on Linux to force fsck, #59Roy Marples
2008-04-09Respect shutdown's fastboot.Roy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-04Fix fsck progress bar.Roy Marples
2008-03-03Split VPS into VSERVER and OPENVZRoy Marples
2008-03-02Ensure that our scripts call prefixed runscript.Roy Marples
2008-03-02Don't check for root in prefix.Roy Marples