Format (Standard 8 Module Reference)

7/8/2014

Review the applicable Embedded Core modules and any examples for the Format setting in Windows Embedded 8 Standard (Standard 8).

This setting specifies the file-system format to apply to the partition.

Do not create an empty value for this setting.

If you format a disk that has an existing partition structure, by default, the existing partition is not erased or reformatted.

The following table shows the possible values.

Value

Description

NTFS

Formats the partition for the NTFS file system.

When CreatePartition\Type is set to Primary or Logical, this is the default file format.

FAT32

Formats the partition for the File Allocation Table (FAT) file system.

When CreatePartition\Type is set to extensible firmware interface (EFI), this is the default file format.

Note

When CreatePartition<A href="jj979267(v=winembedded.81).md">Type is set to Extended or MSR, there is no default file format applied to the partition.

Modules

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Setup

Products/Embedded Core/Setup/DiskConfiguration/Disk/ModifyPartitions/ModifyPartition/Format

XML Example

The following XML example for the DiskConfiguration settings shows how to erase and reformat the second partition of a disk.

<DiskConfiguration>

  <Disk wcm:action="add">
    <DiskID>0</DiskID> 

    <ModifyPartitions>
      <ModifyPartition wcm:action="add">
        <Order>1</Order> 
        <PartitionID>2</PartitionID> 
        <Format>NTFS</Format> 
      </ModifyPartition>
    </ModifyPartitions>

</DiskConfiguration>

For a more complete example of configuring partitions, see Extending a Partition XML Example.

For more XML examples and recommended partition configurations, see How to Configure UEFI/GPT-Based Hard Disk Partitions, or How to Configure BIOS/MBR-Based Hard Disk Partitions.

See Also

Concepts

Embedded Core Settings