Skip to content
Browse files

ignore devpts from noatime check in fstab

  • Loading branch information...
1 parent 6ad0c1b commit 4080da1cbae598abc9c94d55ce501fc6b78c7bd0 @mdxp committed Sep 20, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 noatime/metadata.json
  2. +1 −1 noatime/metadata.rb
  3. +1 −1 noatime/recipes/default.rb
View
2 noatime/metadata.json
@@ -18,7 +18,7 @@
"platforms": {
},
"license": "Apache 2.0",
- "version": "0.2.0",
+ "version": "0.2.1",
"conflicting": {
},
"name": "noatime",
View
2 noatime/metadata.rb
@@ -3,5 +3,5 @@
license "Apache 2.0"
description "Enables noatime on all mounted disks"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
-version "0.2.0"
+version "0.2.1"
View
2 noatime/recipes/default.rb
@@ -34,6 +34,6 @@
code <<-EOH
sed -i -e '/noatime\\|noauto\\|swap\\|proc\\|nfs\\|^#/ !s/defaults\\|remount-ro/&,noatime/g' /etc/fstab
EOH
- only_if "grep -v 'noatime\\|noauto\\|swap\\|proc\\|nfs\\|^#' /etc/fstab"
+ only_if "grep -v 'noatime\\|noauto\\|swap\\|proc\\|devpts\\|nfs\\|^#' /etc/fstab"
end

0 comments on commit 4080da1

Please sign in to comment.
Something went wrong with that request. Please try again.