Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys add getdiskinfo a companion utility to getdisksize.



details:   https://anonhg.NetBSD.org/src/rev/7c8cded460f3
branches:  trunk
changeset: 771189:7c8cded460f3
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 13 22:05:58 2011 +0000

description:
add getdiskinfo a companion utility to getdisksize.

diffstat:

 sys/sys/device.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 10170f5d2a16 -r 7c8cded460f3 sys/sys/device.h
--- a/sys/sys/device.h  Sun Nov 13 22:04:51 2011 +0000
+++ b/sys/sys/device.h  Sun Nov 13 22:05:58 2011 +0000
@@ -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 @@
 
 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);



Home | Main Index | Thread Index | Old Index