summaryrefslogtreecommitdiff
path: root/src/fsck.c
AgeCommit message (Collapse)Author
2011-08-01umask: change default umask to 0022 just to be sure, and set it explicitly ↵Lennart Poettering
in all binaries, in order to make sure it is set when started from the terminal
2011-04-06cmdline: we actually want to parse the kernel cmdline in VMs, just not in ↵Lennart Poettering
containers
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-14container: skip a few things when we are run in a container such as ↵Lennart Poettering
accessing /proc/cmdline
2011-03-09dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemdLennart Poettering
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-02-15fsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 setLennart Poettering
2010-11-19Revert "Revert "fsck: add new -l switch to fsck mount options""Lennart Poettering
This reverts commit c8bc83f5eac49f083ae53d965577118c1b5c1116. As Karel pointed out the -l switch doesn't actualy conflict with per-filesystem options, since those can be seperated by -- in the command line. Since -l is here to stay we hence enable it again for now.
2010-10-31Revert "fsck: add new -l switch to fsck mount options"Michael Biebl
The '-l' option is already taken by fsck.ext[234]: "-l bad_blocks_file Add to badblocks list" This reverts commit cf1a105550766d2251bc10240b6058a37babd600 but keeps the string changes.
2010-10-31fsck: add new -l switch to fsck mount optionsLennart Poettering
2010-10-29fsck: return SUCCESS when we skip the checkKay Sievers
2010-10-29fsck: skip checking / if it is writableKay Sievers
2010-10-29fsck: fix target name to check forLennart Poettering
2010-10-22fsck: suppress error message if we cannot change into single user mode since ↵Lennart Poettering
we are already passt early bootup
2010-10-21fsck: drop -C from fsck cmdline to avoid EPIPEKay Sievers
2010-10-20fsck: don't be idempotent for root directoriesLennart Poettering
2010-10-19fsck: make fsck idempotentLennart Poettering
2010-10-19fsck: properly hook in fsck everywhere, add special support for fsck'ing ↵Lennart Poettering
root dir
2010-10-19fsck: atomically replace base.target by rescue.target/reboot.target when ↵Lennart Poettering
fsck fails
2010-10-19fsck: be verbose when skipping fsck due to missing ACLennart Poettering
2010-10-19fsck: add initial version of fsck and quotacheck wrappersLennart Poettering