|
Lines 334-342
Storage::detectArch()
Link Here
|
| 334 |
line = extractNthWord( 2, line ); |
334 |
line = extractNthWord( 2, line ); |
| 335 |
y2milestone( "line:%s", line.c_str() ); |
335 |
y2milestone( "line:%s", line.c_str() ); |
| 336 |
is_ppc_mac = line.find( "PowerMac" )==0 || line.find( "PowerBook" )==0; |
336 |
is_ppc_mac = line.find( "PowerMac" )==0 || line.find( "PowerBook" )==0; |
|
|
337 |
is_ppc_pegasos = line.find( "Pegasos" )==0; |
| 337 |
} |
338 |
} |
| 338 |
} |
339 |
} |
| 339 |
y2milestone( "Arch:%s IsPPCMac:%d", proc_arch.c_str(), is_ppc_mac ); |
340 |
y2milestone( "Arch:%s IsPPCMac:%d IsPPCPegasos", proc_arch.c_str(), is_ppc_mac, is_ppc_pegasos); |
| 340 |
} |
341 |
} |
| 341 |
|
342 |
|
| 342 |
void |
343 |
void |
|
Lines 888-893
void Storage::setDetectMountedVolumes( b
Link Here
|
| 888 |
string Storage::proc_arch; |
889 |
string Storage::proc_arch; |
| 889 |
string Storage::sysfs_dir = "/sys/block"; |
890 |
string Storage::sysfs_dir = "/sys/block"; |
| 890 |
bool Storage::is_ppc_mac = false; |
891 |
bool Storage::is_ppc_mac = false; |
|
|
892 |
bool Storage::is_ppc_pegasos = false; |
| 891 |
|
893 |
|
| 892 |
|
894 |
|
| 893 |
namespace storage |
895 |
namespace storage |