VirtualBox

Changeset 37023 in vbox


Ignore:
Timestamp:
May 10, 2011 10:07:28 AM (14 years ago)
Author:
vboxsync
Message:

just had to mention hpfs...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dvm/dvmmbr.cpp

    r36868 r37023  
    2525 */
    2626
     27
     28/*******************************************************************************
     29*   Header Files                                                               *
     30*******************************************************************************/
    2731#include <iprt/types.h>
    2832#include <iprt/assert.h>
     
    3135#include <iprt/string.h>
    3236#include "internal/dvm.h"
     37
    3338
    3439/*******************************************************************************
     
    9196static const RTDVMMBRFS2VOLTYPE g_aFs2DvmVolTypes[] =
    9297{
    93     {0x06, RTDVMVOLTYPE_FAT16},
    94     {0x07, RTDVMVOLTYPE_NTFS}, /* Used for exFAT too but NTFS is more common. */
    95     {0x0b, RTDVMVOLTYPE_FAT32},
    96     {0x0c, RTDVMVOLTYPE_FAT32},
    97     {0x82, RTDVMVOLTYPE_LINUX_SWAP},
    98     {0x83, RTDVMVOLTYPE_LINUX_NATIVE},
    99     {0x8e, RTDVMVOLTYPE_LINUX_LVM},
    100     {0xa5, RTDVMVOLTYPE_FREEBSD},
    101     {0xa9, RTDVMVOLTYPE_NETBSD},
    102     {0xa6, RTDVMVOLTYPE_OPENBSD},
    103     {0xaf, RTDVMVOLTYPE_MAC_OSX_HFS},
    104     {0xbf, RTDVMVOLTYPE_SOLARIS},
    105     {0xfd, RTDVMVOLTYPE_LINUX_SOFTRAID}
     98    { 0x06, RTDVMVOLTYPE_FAT16 },
     99    { 0x07, RTDVMVOLTYPE_NTFS }, /* Simplification: Used for HPFS, exFAT, ++, too but NTFS is the more common one. */
     100    { 0x0b, RTDVMVOLTYPE_FAT32 },
     101    { 0x0c, RTDVMVOLTYPE_FAT32 },
     102    { 0x82, RTDVMVOLTYPE_LINUX_SWAP },
     103    { 0x83, RTDVMVOLTYPE_LINUX_NATIVE },
     104    { 0x8e, RTDVMVOLTYPE_LINUX_LVM },
     105    { 0xa5, RTDVMVOLTYPE_FREEBSD },
     106    { 0xa9, RTDVMVOLTYPE_NETBSD },
     107    { 0xa6, RTDVMVOLTYPE_OPENBSD },
     108    { 0xaf, RTDVMVOLTYPE_MAC_OSX_HFS },
     109    { 0xbf, RTDVMVOLTYPE_SOLARIS },
     110    { 0xfd, RTDVMVOLTYPE_LINUX_SOFTRAID }
    106111};
    107112
     
    360365}
    361366
    362 RTDVMFMTOPS g_DvmFmtMbr = 
     367RTDVMFMTOPS g_DvmFmtMbr =
    363368{
    364369    /* pcszFmt */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette