dfxml:name_type

A string representation of the general file type - regular, directory, soft
link, etc.

Element Information

Model

Used By

Complex Type dfxml:fileobject_type

Source

<xs:element name="name_type">
  <xs:annotation>
    <xs:documentation>A string representation of the general file type - regular, directory, soft link, etc.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="-">
        <xs:annotation>
          <xs:documentation>Unknown type</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="p">
        <xs:annotation>
          <xs:documentation>Named pipe</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="c">
        <xs:annotation>
          <xs:documentation>Character device</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="d">
        <xs:annotation>
          <xs:documentation>Directory</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="b">
        <xs:annotation>
          <xs:documentation>Block device</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="r">
        <xs:annotation>
          <xs:documentation>Regular file</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="l">
        <xs:annotation>
          <xs:documentation>Symbolic (soft) link</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="s">
        <xs:annotation>
          <xs:documentation>Socket</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="h">
        <xs:annotation>
          <xs:documentation>Shadow inode (Solaris)</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="w">
        <xs:annotation>
          <xs:documentation>Whiteout (OpenBSD)</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="v">
        <xs:annotation>
          <xs:documentation>Special (Used in The SleuthKit for added "Virtual" files, e.g. $FAT1)</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

Sample

< metadata xmlns = "http://www.forensicswiki.org/wiki/Category:Digital_Forensics_XML" xmlns:dc = "http://purl.org/dc/elements/1.1/" >

< dc:type>

Sample

</ dc:type>

</ metadata>