summaryrefslogtreecommitdiffstats
path: root/include/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/blkdev.h')
-rw-r--r--include/blkdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/blkdev.h b/include/blkdev.h
index 6b1887976..56dbce75c 100644
--- a/include/blkdev.h
+++ b/include/blkdev.h
@@ -110,4 +110,7 @@ int blkdev_get_physector_size(int fd, int *sector_size);
/* is the device cdrom capable? */
int blkdev_is_cdrom(int fd);
+/* get device's geometry - legacy */
+int blkdev_get_geometry(int fd, unsigned int *h, unsigned int *s);
+
#endif /* BLKDEV_H */