aboutsummaryrefslogtreecommitdiffstats
path: root/bin/realtime-suggestions
diff options
context:
space:
mode:
Diffstat (limited to 'bin/realtime-suggestions')
-rwxr-xr-xbin/realtime-suggestions12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/realtime-suggestions b/bin/realtime-suggestions
index 4ff8722..2852476 100755
--- a/bin/realtime-suggestions
+++ b/bin/realtime-suggestions
@@ -28,11 +28,13 @@ check_filesystems() {
where="${mount_point_data[2]}"
type="${mount_point_data[4]}"
options="${mount_point_data[5]}"
- if [[ "$options" != *relatime* ]] && [[ "$options" != *noatime* ]]; then
- echo "$warning $what mounted on $where (type $type) should use the relatime mount option for performance."
- fi
- if [[ "$type" == *fuse* ]] || [[ "$type" == *reiserfs* ]] || [[ "$type" == *vfat* ]]; then
- echo "$info $what mounted on $where (type $type) is not a good filesystem for large files or realtime use."
+ if [[ "$where" != /boot* ]]; then
+ if [[ "$options" != *relatime* ]] && [[ "$options" != *noatime* ]]; then
+ echo "$warning $what mounted on $where (type $type) should use the relatime mount option for performance."
+ fi
+ if [[ "$type" == *fuse* ]] || [[ "$type" == *reiserfs* ]] || [[ "$type" == *vfat* ]]; then
+ echo "$info $what mounted on $where (type $type) is not a good filesystem for large files or realtime use."
+ fi
fi
done
}