Rewrite FS fstab flag processing
* If 'ro' fsflag detected, set Mount_Read_Only = true * Only output human readable Mount_Options to log * Match fsflags identically (not just first n chars) since there are no fs_flags which take arguments * Match new processing method introduced in TW fstab flag processing Change-Id: Iefdb76016be90a131b0d627d0cd3f18d2eb1a008
This commit is contained in:
@@ -326,7 +326,7 @@ void TWPartitionManager::Output_Partition(TWPartition* Part) {
|
||||
string back_meth = Part->Backup_Method_By_Name();
|
||||
printf(" Backup_Method: %s\n", back_meth.c_str());
|
||||
if (Part->Mount_Flags || !Part->Mount_Options.empty())
|
||||
printf(" Mount_Flags=0x%8x, Mount_Options=%s\n", Part->Mount_Flags, Part->Mount_Options.c_str());
|
||||
printf(" Mount_Options: %s\n", Part->Mount_Options.c_str());
|
||||
if (Part->MTP_Storage_ID)
|
||||
printf(" MTP_Storage_ID: %i\n", Part->MTP_Storage_ID);
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user