Index: trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h =================================================================== --- trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h (revision 374) +++ trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h (revision 375) @@ -46,6 +46,7 @@ +(NSMutableArray*) extractInfoWithBSDNames: (NSArray*) bsdNames; +(NSMutableArray*) extractInfoWithBSDNames: (NSArray*) bsdNames withArray:(NSMutableArray*) arr; ++(NSUInteger*) ResetHdRedirTable; -(bool) isValid; Index: trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm (revision 374) +++ trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm (revision 375) @@ -47,6 +47,12 @@ return sHdRedirTable; } +/// redirection table for disk swapping ++(NSUInteger*) ResetHdRedirTable +{ + for (int i=0; i< MAX_HD; i++) sHdRedirTable[i]=i; +} + /// extract disk number from bsdname spec -(int) diskNumber { @@ -189,6 +195,8 @@ if (partArr!=nil && [partArr count]>0) { + [PartitionInfoElement ResetHdRedirTable]; + DASessionRef session = DASessionCreate(NULL); for (NSString* part in partArr) { Index: trunk/ChameleonPrefPane/French.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/French.lproj/Chameleon.xib (revision 374) +++ trunk/ChameleonPrefPane/French.lproj/Chameleon.xib (revision 375) @@ -349,14 +349,14 @@ 8448 - {494, 257} + {499, 257} 2 YES 256 - {494, 17} + {499, 17} 2 @@ -723,7 +723,7 @@ - 42.11328125 + 46.90234375 10 3.4028229999999999e+38 @@ -821,7 +821,7 @@ 32 - -692060160 + -689963008 4 @@ -851,14 +851,14 @@ - -2147483392 + 256 {{1, 259}, {494, 15}} + YES 1 _doScroller: - 1 - 0.99596774193548387 + 0.98997995991983967 @@ -880,7 +880,7 @@ 2 - 133682 + 133810 Index: trunk/ChameleonPrefPane/Spanish.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/Spanish.lproj/Chameleon.xib (revision 374) +++ trunk/ChameleonPrefPane/Spanish.lproj/Chameleon.xib (revision 375) @@ -349,14 +349,14 @@ 8448 - {494, 257} + {499, 257} 2 YES 256 - {494, 17} + {499, 17} 2 @@ -723,7 +723,7 @@ - 42.11328125 + 46.90234375 10 3.4028229999999999e+38 @@ -821,7 +821,7 @@ 32 - -692060160 + -689963008 4 @@ -851,14 +851,14 @@ - -2147483392 + 256 {{1, 259}, {494, 15}} + YES 1 _doScroller: - 1 - 0.99596774193548387 + 0.98997995991983967 @@ -880,7 +880,7 @@ 2 - 133682 + 133810 Index: trunk/ChameleonPrefPane/German.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/German.lproj/Chameleon.xib (revision 374) +++ trunk/ChameleonPrefPane/German.lproj/Chameleon.xib (revision 375) @@ -349,14 +349,14 @@ 8448 - {494, 257} + {499, 257} 2 YES 256 - {494, 17} + {499, 17} 2 @@ -723,7 +723,7 @@ - 42.11328125 + 46.90234375 10 3.4028229999999999e+38 @@ -821,7 +821,7 @@ 32 - -692060160 + -689963008 4 @@ -851,14 +851,14 @@ - -2147483392 + 256 {{1, 259}, {494, 15}} + YES 1 _doScroller: - 1 - 0.99596774193548387 + 0.98997995991983967 @@ -880,7 +880,7 @@ 2 - 133682 + 133810 Index: trunk/ChameleonPrefPane/Italian.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/Italian.lproj/Chameleon.xib (revision 374) +++ trunk/ChameleonPrefPane/Italian.lproj/Chameleon.xib (revision 375) @@ -349,14 +349,14 @@ 8448 - {494, 257} + {499, 257} 2 YES 256 - {494, 17} + {499, 17} 2 @@ -723,7 +723,7 @@ - 42.11328125 + 46.90234375 10 3.4028229999999999e+38 @@ -821,7 +821,7 @@ 32 - -692060160 + -689963008 4 @@ -851,14 +851,14 @@ - -2147483392 + 256 {{1, 259}, {494, 15}} + YES 1 _doScroller: - 1 - 0.99596774193548387 + 0.98997995991983967 @@ -880,7 +880,7 @@ 2 - 133682 + 133810 Index: trunk/ChameleonPrefPane/English.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/English.lproj/Chameleon.xib (revision 374) +++ trunk/ChameleonPrefPane/English.lproj/Chameleon.xib (revision 375) @@ -12,7 +12,7 @@ YES - + YES @@ -330,14 +330,14 @@ 8448 - {494, 257} + {499, 257} 2 YES 256 - {494, 17} + {499, 17} 2 @@ -704,7 +704,7 @@ - 42.11328125 + 46.90234375 10 3.4028229999999999e+38 @@ -802,7 +802,7 @@ 32 - -692060160 + -689963008 4 @@ -832,14 +832,14 @@ - -2147483392 + 256 {{1, 259}, {494, 15}} + YES 1 _doScroller: - 1 - 0.99596774193548387 + 0.98997995991983967 @@ -861,7 +861,7 @@ 2 - 133682 + 133810