Module Name: src Committed By: christos Date: Sun Nov 13 22:05:58 UTC 2011
Modified Files: src/sys/sys: device.h Log Message: add getdiskinfo a companion utility to getdisksize. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/device.h diff -u src/sys/sys/device.h:1.139 src/sys/sys/device.h:1.140 --- src/sys/sys/device.h:1.139 Sun Apr 24 14:46:24 2011 +++ src/sys/sys/device.h Sun Nov 13 17:05:58 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: device.h,v 1.139 2011/04/24 18:46:24 rmind Exp $ */ +/* $NetBSD: device.h,v 1.140 2011/11/13 22:05:58 christos Exp $ */ /* * Copyright (c) 1996, 2000 Christopher G. Demetriou @@ -428,6 +428,8 @@ extern int booted_partition; /* or the struct vnode *opendisk(struct device *); int getdisksize(struct vnode *, uint64_t *, unsigned *); +struct dkwedge_info; +int getdiskinfo(struct vnode *, struct dkwedge_info *); int config_handle_wedges(struct device *, int); void config_init(void);