Loading...
Searching...
No Matches
dvh.h File Reference

Go to the source code of this file.

## Data Structures

struct | device_parameters
struct | partition_table
struct | volume_directory
struct | volume_header

## Macros

#define | BFNAMESIZE 16 /* max 16 chars in boot file name */
#define | BOOTABLE 0x00;
#define | DP_CTQ_EN 0x00000040 /* enable command tag queueing */
#define | DP_IGNOREERRORS 0x00000010 /* transfer data regardless of errors */
#define | DP_MULTIVOL 0x00000008 /* multiple volumes per spindle */
#define | DP_RESEEK 0x00000020 /* recalibrate as last resort */
#define | DP_SECTFWD 0x00000002 /* forward to replacement sector */
#define | DP_SECTSLIP 0x00000001 /* sector slip to spare sector */
#define | DP_TRKFWD 0x00000004 /* forward to replacement track */
#define | EXTENDED 5 /* extended partition */
#define | FAT_LONG 4 /* FAT file system, 16-bit FAT entries */
#define | FAT_SHORT 1 /* FAT file system, 12-bit FAT entries */
#define | HUGE 6 /* huge partition- MS/DOS 4.0 and later */
#define | NOT_BOOTABLE 0x80;
#define | NOT_USED 0 /* Not used */
#define | NPARTAB 16 /* 16 unix partitions */
#define | NPTYPES 16
#define | NVDIR 15 /* max of 15 directory entries */
#define | PTYPE_BSD 4 /* partition is 4.2BSD file system */
#define | PTYPE_BSD42 4 /* partition is 4.2BSD file system */
#define | PTYPE_EFS 7 /* partition is sgi EFS */
#define | PTYPE_LVOL 8 /* partition is part of a logical vol */
#define | PTYPE_RAW 3 /* partition is used for data */
#define | PTYPE_RLVOL 9 /* part of a "raw" logical vol */
#define | PTYPE_SECREPL 2 /* partition is used for repl secs */
#define | PTYPE_SYSV 5 /* partition is SysV file system */
#define | PTYPE_TRKREPL 1 /* partition is used for repl trks */
#define | PTYPE_VOLHDR 0 /* partition is volume header */
#define | PTYPE_VOLUME 6 /* partition is entire volume */
#define | PTYPE_XFS 10 /* partition is sgi XFS */
#define | PTYPE_XFSLOG 11 /* partition is sgi XFS log */
#define | PTYPE_XLV 12 /* partition is part of an XLV vol */
#define | PTYPE_XVM 13 /* partition is sgi XVM */
#define | VDNAMESIZE 8
#define | VHMAGIC 0xbe5a941 /* randomly chosen value */

## Macro Definition Documentation

## BFNAMESIZE

#define BFNAMESIZE 16 /* max 16 chars in boot file name */

## BOOTABLE

#define BOOTABLE 0x00;

## DP_CTQ_EN

#define DP_CTQ_EN 0x00000040 /* enable command tag queueing */

## DP_IGNOREERRORS

#define DP_IGNOREERRORS 0x00000010 /* transfer data regardless of errors */

## DP_MULTIVOL

#define DP_MULTIVOL 0x00000008 /* multiple volumes per spindle */

## DP_RESEEK

#define DP_RESEEK 0x00000020 /* recalibrate as last resort */

## DP_SECTFWD

#define DP_SECTFWD 0x00000002 /* forward to replacement sector */

## DP_SECTSLIP

#define DP_SECTSLIP 0x00000001 /* sector slip to spare sector */

## DP_TRKFWD

#define DP_TRKFWD 0x00000004 /* forward to replacement track */

## EXTENDED

#define EXTENDED 5 /* extended partition */

## FAT_LONG

#define FAT_LONG 4 /* FAT file system, 16-bit FAT entries */

## FAT_SHORT

#define FAT_SHORT 1 /* FAT file system, 12-bit FAT entries */

## HUGE

#define HUGE 6 /* huge partition- MS/DOS 4.0 and later */

## NOT_BOOTABLE

#define NOT_BOOTABLE 0x80;

## NOT_USED

#define NOT_USED 0 /* Not used */

## NPARTAB

#define NPARTAB 16 /* 16 unix partitions */

## NPTYPES

#define NPTYPES 16

## NVDIR

#define NVDIR 15 /* max of 15 directory entries */

## PTYPE_BSD

#define PTYPE_BSD 4 /* partition is 4.2BSD file system */

## PTYPE_BSD42

#define PTYPE_BSD42 4 /* partition is 4.2BSD file system */

## PTYPE_EFS

#define PTYPE_EFS 7 /* partition is sgi EFS */

## PTYPE_LVOL

#define PTYPE_LVOL 8 /* partition is part of a logical vol */

## PTYPE_RAW

#define PTYPE_RAW 3 /* partition is used for data */

## PTYPE_RLVOL

#define PTYPE_RLVOL 9 /* part of a "raw" logical vol */

## PTYPE_SECREPL

#define PTYPE_SECREPL 2 /* partition is used for repl secs */

## PTYPE_SYSV

#define PTYPE_SYSV 5 /* partition is SysV file system */

## PTYPE_TRKREPL

#define PTYPE_TRKREPL 1 /* partition is used for repl trks */

## PTYPE_VOLHDR

#define PTYPE_VOLHDR 0 /* partition is volume header */

## PTYPE_VOLUME

#define PTYPE_VOLUME 6 /* partition is entire volume */

## PTYPE_XFS

#define PTYPE_XFS 10 /* partition is sgi XFS */

## PTYPE_XFSLOG

#define PTYPE_XFSLOG 11 /* partition is sgi XFS log */

## PTYPE_XLV

#define PTYPE_XLV 12 /* partition is part of an XLV vol */

## PTYPE_XVM

#define PTYPE_XVM 13 /* partition is sgi XVM */

## VDNAMESIZE

#define VDNAMESIZE 8

## VHMAGIC

#define VHMAGIC 0xbe5a941 /* randomly chosen value */