Patch by pieterg: use dir_index when creating ext3 filesystem
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 26 Apr 2009 21:24:51 +0000 (23:24 +0200)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 26 Apr 2009 21:24:51 +0000 (23:24 +0200)
lib/python/Components/Harddisk.py

index df14276..c34511d 100755 (executable)
@@ -156,7 +156,7 @@ class Harddisk:
                cmd = "/sbin/mkfs.ext3 "
                if self.diskSize() > 4 * 1024:
                        cmd += "-T largefile "
-               cmd += "-m0 " + self.devidex + "part1"
+               cmd += "-m0 -O dir_index " + self.devidex + "part1"
                res = system(cmd)
                return (res >> 8)