diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-18 11:43:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-18 11:43:20 +0000 |
commit | 60d6d9e3f658e9a697073fa8ec8c1b23cadb66e0 (patch) | |
tree | cd5fee1a50423b09694ce693a54aea18a29895e9 /sys/arch/amd64 | |
parent | 4dd981ca8b3a44bc13bf8e115ae5cadc8813c2ce (diff) |
In writedisklabel(), read the disklabel sector before rewriting it, to
preserve the non-disklabel contents; otherwise altering your disklabel may
render your machine unbootable.
ok deraadt@ krw@
Diffstat (limited to 'sys/arch/amd64')
0 files changed, 0 insertions, 0 deletions