|
Last change
on this file since 23 was 4, checked in by Mattia Monga, 15 years ago |
|
Importazione sorgenti libro
|
|
File size:
526 bytes
|
| Line | |
|---|
| 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
|
|---|
| 8 |
|
|---|
| 9 | #ifndef _TYPES_H
|
|---|
| 10 | #include <sys/types.h>
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | struct partition {
|
|---|
| 14 | u64_t base; /* byte offset to the partition start */
|
|---|
| 15 | u64_t size; /* number of bytes in the partition */
|
|---|
| 16 | unsigned cylinders; /* disk geometry */
|
|---|
| 17 | unsigned heads;
|
|---|
| 18 | unsigned sectors;
|
|---|
| 19 | };
|
|---|
| 20 |
|
|---|
| 21 | #endif /* _MINIX__PARTITION_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.