summaryrefslogtreecommitdiff
path: root/sutils/fsck.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-05 17:00:12 +0000
committerMiles Bader <miles@gnu.org>1997-02-05 17:00:12 +0000
commitf28a46ed3de9254b4c9dd6487a233914f35d8e9f (patch)
tree1ae07389a747b240871672ca8708027df3b65c2c /sutils/fsck.c
parent76e818c4c1c8afa39ee378e01e856b782b40d172 (diff)
(fsck):
In non-automatic mode, print a warning if a filesystem is of a type that can't be fscked.
Diffstat (limited to 'sutils/fsck.c')
-rw-r--r--sutils/fsck.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sutils/fsck.c b/sutils/fsck.c
index b3165ace..8af86d8f 100644
--- a/sutils/fsck.c
+++ b/sutils/fsck.c
@@ -1,6 +1,6 @@
/* Hurd-aware fsck wrapper
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -423,8 +423,11 @@ fsck (struct fstab *fstab, int flags, int max_parallel)
merge_status (fscks_wait (&fscks));
merge_status (fscks_start_fsck (&fscks, fs));
}
- else
+ else if (autom)
fs_debug (fs, "Not fsckable");
+ else
+ error (0, 0, "%s: %s: Not a fsckable filesystem type",
+ fs->mntent.mnt_dir, fs->mntent.mnt_type);
}
/* Now wait for them all to finish. */