summaryrefslogtreecommitdiff
path: root/sys/dev/vndioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vndioctl.h')
-rw-r--r--sys/dev/vndioctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/vndioctl.h b/sys/dev/vndioctl.h
index 6995d80ba21..f792977efa0 100644
--- a/sys/dev/vndioctl.h
+++ b/sys/dev/vndioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vndioctl.h,v 1.7 2008/08/14 17:10:29 jsing Exp $ */
+/* $OpenBSD: vndioctl.h,v 1.8 2008/09/03 23:24:25 krw Exp $ */
/* $NetBSD: vndioctl.h,v 1.5 1995/01/25 04:46:30 cgd Exp $ */
/*
@@ -50,6 +50,8 @@
struct vnd_ioctl {
char *vnd_file; /* pathname of file to mount */
size_t vnd_secsize; /* sector size in bytes */
+ size_t vnd_nsectors; /* number of sectors in a track */
+ size_t vnd_ntracks; /* number of tracks per cylinder (i.e. heads) */
off_t vnd_size; /* (returned) size of disk */
u_char *vnd_key;
int vnd_keylen;