summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-05-28 17:05:50 +0000
committermiod <miod@openbsd.org>2009-05-28 17:05:50 +0000
commit9920370070eaa88e50cfc40aa7e1df4e3c104cfb (patch)
tree499d652ab7e68d7e63651eb4787a5d6e0dc0dcbc /sbin/disklabel/editor.c
parentKeep track of number of bytes read and written. Needed for upcoming (diff)
downloadwireguard-openbsd-9920370070eaa88e50cfc40aa7e1df4e3c104cfb.tar.xz
wireguard-openbsd-9920370070eaa88e50cfc40aa7e1df4e3c104cfb.zip
If readsgilabel() is invoked in spoofing mode, only report the whole device
and volume header partitions. This makes DIOCGPDINFO return correct results, which in turn lets disklabel -A behave as intended.
Diffstat (limited to 'sbin/disklabel/editor.c')
0 files changed, 0 insertions, 0 deletions