Changeset View
Changeset View
Standalone View
Standalone View
sbin/mdconfig/mdconfig.8
Show All 31 Lines | ||||||||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||||||||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | |||||||||||
.\" | .\" | |||||||||||
.\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93 | .\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93 | |||||||||||
.\" from: src/usr.sbin/vnconfig/vnconfig.8,v 1.19 2000/12/27 15:30:29 | .\" from: src/usr.sbin/vnconfig/vnconfig.8,v 1.19 2000/12/27 15:30:29 | |||||||||||
.\" | .\" | |||||||||||
.\" $FreeBSD$ | .\" $FreeBSD$ | |||||||||||
.\" | .\" | |||||||||||
.Dd November 6, 2020 | .Dd August 27, 2021 | |||||||||||
.Dt MDCONFIG 8 | .Dt MDCONFIG 8 | |||||||||||
.Os | .Os | |||||||||||
.Sh NAME | .Sh NAME | |||||||||||
.Nm mdconfig | .Nm mdconfig | |||||||||||
.Nd create and control memory disks | .Nd create and control memory disks | |||||||||||
.Sh SYNOPSIS | .Sh SYNOPSIS | |||||||||||
.Nm | .Nm | |||||||||||
.Fl a | .Fl a | |||||||||||
▲ Show 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | ||||||||||||
This can be used with the | This can be used with the | |||||||||||
.Fl d | .Fl d | |||||||||||
flag to forcibly destroy an | flag to forcibly destroy an | |||||||||||
.Xr md 4 | .Xr md 4 | |||||||||||
disk that is still in use. | disk that is still in use. | |||||||||||
.It Oo Cm no Oc Ns Cm readonly | .It Oo Cm no Oc Ns Cm readonly | |||||||||||
Enable/disable readonly mode. | Enable/disable readonly mode. | |||||||||||
.It Oo Cm no Oc Ns Cm verify | .It Oo Cm no Oc Ns Cm verify | |||||||||||
For | For | |||||||||||
markjUnsubmitted Done Inline Actions
markj: | ||||||||||||
.Cm vnode | .Cm vnode | |||||||||||
backed devices: enable/disable requesting verification of the | backed devices: enable/disable requesting verification of the | |||||||||||
Done Inline Actions
markj: | ||||||||||||
file used for backing store. | file used for backing store. | |||||||||||
The type of verification depends on which security features are available. | The type of verification depends on which security features are available. | |||||||||||
Done Inline Actions
markj: | ||||||||||||
One example of verification is testing file integrity with | One example of verification is testing file integrity with | |||||||||||
checksums or cryptographic signatures. | checksums or cryptographic signatures. | |||||||||||
.It Oo Cm no Oc Ns Cm autounmap | ||||||||||||
Detect if hole-punching is supported by the underlying file system. | ||||||||||||
markjUnsubmitted Not Done Inline ActionsI think it could be a bit more clear:
"autounmap" also seems like a somewhat strange name to me. Is it named after something similar elsewhere? markj: I think it could be a bit more clear:
- Start the description with "For .Cm vnode backed… | ||||||||||||
khngAuthorUnsubmitted Not Done Inline ActionsDo you think "mayunmap" is a better name? khng: Do you think "mayunmap" is a better name? | ||||||||||||
markjUnsubmitted Not Done Inline ActionsIs "unmap" the usual terminology? fspacectl.2 refers to space deallocation, and we have _PC_DEALLOC_PRESENT, so maybe "mustdealloc"? markj: Is "unmap" the usual terminology? fspacectl.2 refers to space deallocation, and we have… | ||||||||||||
Done Inline Actions
markj: | ||||||||||||
If the underlying file system of the vnode type memory disk does not support | ||||||||||||
hole-punching, BIO_DELETE requests are returned unsupported. | ||||||||||||
markjUnsubmitted Done Inline Actions
markj: | ||||||||||||
.El | .El | |||||||||||
Done Inline Actions
markj: | ||||||||||||
.It Fl u Ar unit | .It Fl u Ar unit | |||||||||||
Request a specific unit number or device name for the | Request a specific unit number or device name for the | |||||||||||
Done Inline Actions
markj: | ||||||||||||
.Xr md 4 | .Xr md 4 | |||||||||||
device instead of automatic allocation. | device instead of automatic allocation. | |||||||||||
If a device name is specified, it must start with | If a device name is specified, it must start with | |||||||||||
.Dq md | .Dq md | |||||||||||
followed by the unit number. | followed by the unit number. | |||||||||||
.El | .El | |||||||||||
Done Inline Actions
markj: | ||||||||||||
.Pp | .Pp | |||||||||||
The last form, | The last form, | |||||||||||
.Nm | .Nm | |||||||||||
.Ar file , | .Ar file , | |||||||||||
is provided for convenience as an abbreviation of | is provided for convenience as an abbreviation of | |||||||||||
.Nm | .Nm | |||||||||||
.Fl a | .Fl a | |||||||||||
.Fl t Cm vnode | .Fl t Cm vnode | |||||||||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |