Skip to content

zeroing 1MiB may not be sufficient #121

@smoser

Description

@smoser

addPartitionSetMBR and addPartitionSetGPT as well as wipeDisk call zeroStartEnd to get rid of any filesystem or metadata signatures in a disk / partition.

It turns out that 1MiB is not necessarily sufficient to wipe all signatures.

The VMFS_volume_member signature is at "kboff = 1024" (1024 kilobytes offset). vmfs.c.

In my quick grep of util-linux, the only kboff values larger than 1023 are in vmfs.c. (VMFS comes at 2048).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions