make vfs & filesystems use failable copying
[minix3.git] / include / minix / partition.h
blob2e9b431d077f59ca62ebb71ee7d3d1e088173220
1 /* minix/partition.h Author: Kees J. Bot
2 * 7 Dec 1995
3 * Place of a partition on disk and the disk geometry,
4 * for use with the DIOCGETP and DIOCSETP ioctl's.
5 */
6 #ifndef _MINIX__PARTITION_H
7 #define _MINIX__PARTITION_H
9 #include <sys/types.h>
11 #include <minix/u64.h>
13 int minix_sizeup(char *name, u64_t *bytes);
15 struct part_geom {
16 u64_t base; /* byte offset to the partition start */
17 u64_t size; /* number of bytes in the partition */
18 unsigned cylinders; /* disk geometry */
19 unsigned heads;
20 unsigned sectors;
23 #endif /* _MINIX__PARTITION_H */