From 94b43906facbfe3b1ec04d29f8434b308175e0d3 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Tue, 7 Oct 2014 09:38:16 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=BE=D0=BF=D1=86=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D1=83=D0=BC?= =?UTF-8?q?=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20nodiratime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://lwn.net/Articles/244941/ /* ... */ if (inode->i_flags & S_NOATIME) return; if (IS_NOATIME(inode)) return; if ((inode->i_sb->s_flags & MS_NODIRATIME) && S_ISDIR(inode->i_mode)) return; --- pym/install/fs_manager.py | 2 +- pym/install/variables/disk.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/install/fs_manager.py b/pym/install/fs_manager.py index 402f72a..b2c2fa2 100644 --- a/pym/install/fs_manager.py +++ b/pym/install/fs_manager.py @@ -27,7 +27,7 @@ setLocalTranslate('cl_install3',sys.modules[__name__]) class FileSystemManager: """Convert dict install option""" - defaultOpt = ['noatime','nodiratime'] + defaultOpt = ['noatime'] defaultBindOpts = ['bind'] supportFS = { 'ext2': {'defaultopt': defaultOpt, diff --git a/pym/install/variables/disk.py b/pym/install/variables/disk.py index b0f99c1..17b0e2c 100644 --- a/pym/install/variables/disk.py +++ b/pym/install/variables/disk.py @@ -1423,8 +1423,6 @@ class VariableOsInstallDiskOptions(ReadonlyVariable): """TODO: get real options""" def postProcess(opt): l_opt = filter(None,opt.split(',')) - if "noatime" in l_opt and not "nodiratime" in l_opt: - l_opt.append("nodiratime") return ",".join(l_opt) diskOpts = dict(filter(lambda x:x[1],