Changeset 45260 for titan/titan


Ignore:
Timestamp:
01/25/21 23:43:00 (3 years ago)
Author:
obi
Message:

fix format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/harddisk.h

    r45259 r45260  
    805805                                backup = 1;
    806806                }
    807                        
    808 #ifndef OEBUILD
     807
     808               
     809//#ifndef OEBUILD       
    809810                if(ostrcmp(filesystem, "vfat") == 0)
    810811                        cmd = ostrcat("/sbin/cmd.sh \"mkfs.fat.gui -F 32\" /dev/" , dev, 0, 0);
     
    814815                        cmd = ostrcat("/sbin/cmd.sh mkfs.ext2.gui /dev/" , dev, 0, 0);
    815816                else if(ostrcmp(filesystem, "ext3") == 0)
    816                         cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext3.gui -T largefile -m0 -O dir_index\" /dev/" , dev, 0, 0);
     817                        cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext3.gui -T largefile -N 262144 -F -F -m0 -O ^metadata_csum -O dir_index,sparse_super\" /dev/" , dev, 0, 0);
     818//                      cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext3.gui -T largefile -m0 -O dir_index\" /dev/" , dev, 0, 0);
    817819                else if(ostrcmp(filesystem, "ext4") == 0)
    818                         cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext4.gui -T largefile -m0 -O dir_index\" /dev/" , dev, 0, 0);
     820                        cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext4.gui -T largefile -N 262144 -F -F -m0 -O ^metadata_csum -O dir_index,sparse_super\" /dev/" , dev, 0, 0);
     821//                      cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext4.gui -T largefile -m0 -O dir_index\" /dev/" , dev, 0, 0);
     822/*
    819823#else
     824
    820825                if(ostrcmp(filesystem, "vfat") == 0)
    821826                        cmd = ostrcat("/sbin/cmd.sh \"mkfs.fat -F 32\" /dev/" , dev, 0, 0);
     
    831836//                      cmd = ostrcat("/sbin/cmd.sh \"mkfs.ext4 -T largefile -m0 -O dir_index\" /dev/" , dev, 0, 0);
    832837#endif
    833 
     838*/
    834839                if(format == 2) cmd = ostrcat(cmd , "1", 1, 0);
    835840                       
Note: See TracChangeset for help on using the changeset viewer.