UFS gpart add

When running gpart add what changes does the command make on a disk, apart from updating the partition table? ie is there some sort of signature on the disk marking the start of the partition?
 
AFAIK, it only writes the two copies of the partition table (one at the beginning, the backup copy at the end). I think if all you do is "gpart add", then "gpart delete" the same partition, everything on disk except the partition table(s) should still be same. To prove it, you should read the source code ... which is probably gnarly, because of layers.
 
Back
Top