// ======================================================= void CExt2Part::printfInformations() { char szFullText[8192]; char szText[8192]; *(szText) = '\0'; getStdInfos(szText, sizeof(szText), false); SNPRINTF(szFullText, i18n("%s" // standard infos "Number of groups..............%u\n" "First block...................%u\n" "Ext3fs journalization.........%s\n" "Sparse super block............%s\n" "Large files support...........%s\n" "File system revision..........%u\n"), szText, m_info.dwGroupsCount, m_info.dwFirstBlock, (m_info.dwFeatureCompat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) ? i18n("yes") : i18n("no"), (m_info.dwFeatureRoCompat & EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER) ? i18n("yes") : i18n("no"), (m_info.dwFeatureRoCompat & EXT2_FEATURE_RO_COMPAT_LARGE_FILE) ? i18n("yes") : i18n("no"), m_info.dwRevLevel); if (ISEXT3FS) g_interface->msgBoxOk(i18n("Ext3fs informations"), szFullText); else g_interface->msgBoxOk(i18n("Ext2fs informations"), szFullText); }
// ======================================================= void CXfsPart::printfInformations() { char szFullText[8192]; char szText[8192]; char szTemp1[1024]; getStdInfos(szText, sizeof(szText), true); SNPRINTF(szFullText, i18n("%s" // standard infos "Allocation Group count:.......%u\n" "Blocks per Allocation Group:..%u\n" "Allocation Group size:........%s\n"), szText, m_info.dwAgCount, m_info.dwAgBlocksCount, formatSize(m_info.dwAgBlocksCount*m_header.qwBlockSize,szTemp1)); g_interface->msgBoxOk(i18n("XFS informations"), szFullText); }
// ======================================================= void CHfsPart::printfInformations() { char szFullText[8192]; char szText[8192]; char szTemp1[1024]; getStdInfos(szText, sizeof(szText), true); SNPRINTF(szFullText, i18n("%s" // standard infos "Allocation Group count:.......%"PRIu64"\n" "Blocks per Allocation Group:..%u\n" "Allocation Group size:........%s\n" "First allocation block:.......%"PRIu64"\n"), szText, m_info.qwAllocCount, m_info.dwBlocksPerAlloc, formatSize(m_info.dwAllocSize,szTemp1), m_info.qwFirstAllocBlock); g_interface->msgBoxOk(i18n("HFS informations"), szFullText); }
// ======================================================= void CAfsPart::printfInformations() { char szFullText[8192]; char szText[8192]; *(szText) = '\0'; getStdInfos(szText, sizeof(szText), false); SNPRINTF(szFullText, i18n("%s" // standard infos "Allocation groups count:......%u\n" "Byte order:...................%u\n" "Blocks per group:.............%u\n" "Boot loader size:.............%u blocks\n"), szText, m_info.dwAllocGroupCount, m_info.dwByteOrder, m_info.dwBlockPerGroup, m_info.dwBootLoaderSize); g_interface->msgBoxOk(i18n("AFS informations"), szFullText); }