Skip to content
  • Andrei Gherzan's avatar
    f87a7f71
    x-wic.inc: Avoid Y2038 problem · f87a7f71
    Andrei Gherzan authored and Stefan Schmidt's avatar Stefan Schmidt committed
    
    
    At filesystem creation, mke2fs uses the filesystem size to calculate the
    inodes size. Some of our partitions are empty and they will end up small
    inode size. The tool will even throw a clear warning:
    
    The ext4 filesystem labeled 'x-dev-data' has no Y2038 support. Inodes
    (of size 128) are too small.
    
    As the warning reads, this value is affacted by the Y2038 problem. By
    using `--mkfs-extraopts "-T default"` we make sure that mke2fs doesn't
    autodetect inode size but instead it uses default values for tuning
    parameters - inode size is included.
    
    Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
    f87a7f71
    x-wic.inc: Avoid Y2038 problem
    Andrei Gherzan authored and Stefan Schmidt's avatar Stefan Schmidt committed
    
    
    At filesystem creation, mke2fs uses the filesystem size to calculate the
    inodes size. Some of our partitions are empty and they will end up small
    inode size. The tool will even throw a clear warning:
    
    The ext4 filesystem labeled 'x-dev-data' has no Y2038 support. Inodes
    (of size 128) are too small.
    
    As the warning reads, this value is affacted by the Y2038 problem. By
    using `--mkfs-extraopts "-T default"` we make sure that mke2fs doesn't
    autodetect inode size but instead it uses default values for tuning
    parameters - inode size is included.
    
    Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
Loading