summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-03 19:59:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-03 19:59:45 +0000
commit097774d963937e0869a5a5f0fad7129aae033e2a (patch)
tree0a52d7aba14e7cb585805cd062c92b6ff2715224 /etc
parentfc0b0dc591806403a6c820a96ff3e9e6d4c681fa (diff)
downloadpfsense-097774d963937e0869a5a5f0fad7129aae033e2a.zip
pfsense-097774d963937e0869a5a5f0fad7129aae033e2a.tar.gz
Log error when file system is dirty
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index f7be4fd..3c72790 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -297,6 +297,7 @@ function conf_mount_rw() {
$status = mwexec("/sbin/mount -w {$g['embeddedbootupslice']}");
/* we could not mount this correctly. kick off fsck */
while($status < 0) {
+ log_error("File system is dirty. Launching FSCK for /");
mwexec("/sbin/fsck -y");
$status = mwexec("/sbin/mount -w {$g['embeddedbootupslice']}");
}
OpenPOWER on IntegriCloud