Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/geom.4
Show All 37 Lines | |||||
.Dt GEOM 4 | .Dt GEOM 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm GEOM | .Nm GEOM | ||||
.Nd "modular disk I/O request transformation framework" | .Nd "modular disk I/O request transformation framework" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Cd options GEOM_AES | .Cd options GEOM_AES | ||||
.Cd options GEOM_BDE | .Cd options GEOM_BDE | ||||
.Cd options GEOM_BSD | |||||
.Cd options GEOM_CACHE | .Cd options GEOM_CACHE | ||||
.Cd options GEOM_CONCAT | .Cd options GEOM_CONCAT | ||||
.Cd options GEOM_ELI | .Cd options GEOM_ELI | ||||
.Cd options GEOM_FOX | |||||
.Cd options GEOM_GATE | .Cd options GEOM_GATE | ||||
.Cd options GEOM_JOURNAL | .Cd options GEOM_JOURNAL | ||||
.Cd options GEOM_LABEL | .Cd options GEOM_LABEL | ||||
.Cd options GEOM_LINUX_LVM | .Cd options GEOM_LINUX_LVM | ||||
.Cd options GEOM_MAP | .Cd options GEOM_MAP | ||||
.Cd options GEOM_MBR | |||||
.Cd options GEOM_MIRROR | .Cd options GEOM_MIRROR | ||||
.Cd options GEOM_MOUNTVER | .Cd options GEOM_MOUNTVER | ||||
.Cd options GEOM_MULTIPATH | .Cd options GEOM_MULTIPATH | ||||
.Cd options GEOM_NOP | .Cd options GEOM_NOP | ||||
.Cd options GEOM_PART_APM | .Cd options GEOM_PART_APM | ||||
.Cd options GEOM_PART_BSD | .Cd options GEOM_PART_BSD | ||||
.Cd options GEOM_PART_BSD64 | .Cd options GEOM_PART_BSD64 | ||||
.Cd options GEOM_PART_EBR | .Cd options GEOM_PART_EBR | ||||
.Cd options GEOM_PART_EBR_COMPAT | .Cd options GEOM_PART_EBR_COMPAT | ||||
.Cd options GEOM_PART_GPT | .Cd options GEOM_PART_GPT | ||||
.Cd options GEOM_PART_LDM | .Cd options GEOM_PART_LDM | ||||
.Cd options GEOM_PART_MBR | .Cd options GEOM_PART_MBR | ||||
.Cd options GEOM_PART_VTOC8 | .Cd options GEOM_PART_VTOC8 | ||||
.Cd options GEOM_RAID | .Cd options GEOM_RAID | ||||
.Cd options GEOM_RAID3 | .Cd options GEOM_RAID3 | ||||
.Cd options GEOM_SHSEC | .Cd options GEOM_SHSEC | ||||
.Cd options GEOM_STRIPE | .Cd options GEOM_STRIPE | ||||
.Cd options GEOM_SUNLABEL | |||||
.Cd options GEOM_UZIP | .Cd options GEOM_UZIP | ||||
.Cd options GEOM_VIRSTOR | .Cd options GEOM_VIRSTOR | ||||
.Cd options GEOM_VOL | |||||
.Cd options GEOM_ZERO | .Cd options GEOM_ZERO | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
framework provides an infrastructure in which | framework provides an infrastructure in which | ||||
.Dq classes | .Dq classes | ||||
can perform transformations on disk I/O requests on their path from | can perform transformations on disk I/O requests on their path from | ||||
the upper kernel to the device drivers and back. | the upper kernel to the device drivers and back. | ||||
▲ Show 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | |||||
This would, for example, allow the super-user to overwrite the MBR on the root | This would, for example, allow the super-user to overwrite the MBR on the root | ||||
disk or write random sectors elsewhere to a mounted disk. | disk or write random sectors elsewhere to a mounted disk. | ||||
The implications are obvious. | The implications are obvious. | ||||
.It 0x40 Pq Dv G_F_DISKIOCTL | .It 0x40 Pq Dv G_F_DISKIOCTL | ||||
This is unused at this time. | This is unused at this time. | ||||
.It 0x80 Pq Dv G_F_CTLDUMP | .It 0x80 Pq Dv G_F_CTLDUMP | ||||
Dump contents of gctl requests. | Dump contents of gctl requests. | ||||
.El | .El | ||||
.Sh OBSOLETE OPTIONS | |||||
.Pp | |||||
The following options have been deprecated and will be removed in | |||||
.Fx 12 : | |||||
.Cd GEOM_BSD , | |||||
.Cd GEOM_FOX , | |||||
.Cd GEOM_MBR , | |||||
.Cd GEOM_SUNLABEL , | |||||
and | |||||
.Cd GEOM_VOL . | |||||
.Pp | |||||
Use | |||||
.Cd GEOM_PART_BSD , | |||||
.Cd GEOM_MULTIPATH , | |||||
.Cd GEOM_PART_MBR , | |||||
.Cd GEOM_PART_VTOC8 , | |||||
.Cd GEOM_LABEL | |||||
options, respectively, instead. | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr libgeom 3 , | .Xr libgeom 3 , | ||||
.Xr DECLARE_GEOM_CLASS 9 , | .Xr DECLARE_GEOM_CLASS 9 , | ||||
.Xr disk 9 , | .Xr disk 9 , | ||||
.Xr g_access 9 , | .Xr g_access 9 , | ||||
.Xr g_attach 9 , | .Xr g_attach 9 , | ||||
.Xr g_bio 9 , | .Xr g_bio 9 , | ||||
.Xr g_consumer 9 , | .Xr g_consumer 9 , | ||||
Show All 26 Lines |