[−][src]Function gpt::header::write_header
pub fn write_header(
p: &Path,
uuid: Option<Uuid>,
sector_size: LogicalBlockSize
) -> Result<Uuid>
A helper function to create a new header and write it to disk. If the uuid isn't given a random one will be generated. Use this in conjunction with Partition::write()