Skip to content

Commit

Permalink
ignore devpts from noatime check in fstab
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxp committed Sep 21, 2010
1 parent 6ad0c1b commit 4080da1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion noatime/metadata.json
Expand Up @@ -18,7 +18,7 @@
"platforms": {
},
"license": "Apache 2.0",
"version": "0.2.0",
"version": "0.2.1",
"conflicting": {
},
"name": "noatime",
Expand Down
2 changes: 1 addition & 1 deletion noatime/metadata.rb
Expand Up @@ -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"

2 changes: 1 addition & 1 deletion noatime/recipes/default.rb
Expand Up @@ -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.