diff options
author | 2007-05-28 21:54:26 +0000 | |
---|---|---|
committer | 2007-05-28 21:54:26 +0000 | |
commit | e8a57fde84583d4b257370c5059f0d1159c50c2e (patch) | |
tree | df1d11121f1c64fc6e14b26374c3a63ec9860a9f /usr.bin/cvs/diff_internals.c | |
parent | zap annoying __KERNEL_RCSID(). (diff) | |
download | wireguard-openbsd-e8a57fde84583d4b257370c5059f0d1159c50c2e.tar.xz wireguard-openbsd-e8a57fde84583d4b257370c5059f0d1159c50c2e.zip |
Make disk assembly smarter and add two qualifiers to it:
1) noautoassemble; when set the softraid volume will not be assembled during
autoconf.
2) force; when set it will overwrite metadata on disk
While writing this I ran into 3 bugs that were fixed along the way
1) bcopy in sr_read_meta was copying data to the wrong pointer
2) in sr_read_meta the wrong metadata was coppied into the chunk
3) sr_free_discipline was freing a pointer that wasn't malloc'd
ok dlg
Diffstat (limited to 'usr.bin/cvs/diff_internals.c')
0 files changed, 0 insertions, 0 deletions