summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Jin <jin.xiao@samsung.com>2018-09-12 15:44:59 +0800
committerXiao Jin <jin.xiao@samsung.com>2018-09-13 09:20:56 +0800
commitb164bfd4f0936d83955d2a0c4cb7590aaa7cbd0d (patch)
tree375ffc6d20b0243f364579afce38d7142db65b13
parent44359b8a167b740090d9b0380f567f9b0d2887c9 (diff)
downloadmic-b164bfd4f0936d83955d2a0c4cb7590aaa7cbd0d.tar.gz
mic-b164bfd4f0936d83955d2a0c4cb7590aaa7cbd0d.tar.bz2
mic-b164bfd4f0936d83955d2a0c4cb7590aaa7cbd0d.zip
Revert "ext4 images are created with inode size 256 bytes"
This reverts commit c2b1299800f0f1f8cd4794fc5e55bdc20e35721d. Change-Id: Id9308c18a70de32cb781091f999bb39715bdc55a
-rwxr-xr-xmic/utils/fs_related.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py
index a914139..11f6801 100755
--- a/mic/utils/fs_related.py
+++ b/mic/utils/fs_related.py
@@ -489,9 +489,6 @@ class ExtDiskMount(DiskMount):
msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
cmdlist = [self.mkfscmd, "-F", "-L", self.fslabel, "-m", "1", "-b",
str(self.blocksize), "-U", self.uuid]
- #raw device do not maintain i-node,so -I is invalid param
- if not isinstance(self.disk,RawDisk):
- cmdlist.extend(["-I",str(256)])
if self.__extopts:
cmdlist.extend(self.__extopts.split())
cmdlist.extend([self.disk.device])