From 4ab42b1831da7085bdadb51e3709cb2e5837ef69 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 21 Apr 2016 13:52:18 -0500 Subject: 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 --- partitionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitionmanager.cpp') diff --git a/partitionmanager.cpp b/partitionmanager.cpp index c2ef5f563..95d2520b3 100644 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -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"); -- cgit v1.2.3