Changeset View
Standalone View
sbin/mdmfs/mdmfs.8
Context not available. | |||||
driver | driver | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl DLlMNPStUX | .Op Fl DLlMNPStTUX | ||||
.Op Fl a Ar maxcontig | .Op Fl a Ar maxcontig | ||||
.Op Fl b Ar block-size | .Op Fl b Ar block-size | ||||
.Op Fl c Ar blocks-per-cylinder-group | .Op Fl c Ar blocks-per-cylinder-group | ||||
Context not available. | |||||
.Op Fl o Ar mount-options | .Op Fl o Ar mount-options | ||||
.Op Fl p Ar permissions | .Op Fl p Ar permissions | ||||
.Op Fl s Ar size | .Op Fl s Ar size | ||||
.Op Fl T Ar fstype | |||||
.Op Fl v Ar version | .Op Fl v Ar version | ||||
.Op Fl w Ar user : Ns Ar group | .Op Fl w Ar user : Ns Ar group | ||||
.Ar md-device | .Ar md-device | ||||
Context not available. | |||||
.Xr md 4 | .Xr md 4 | ||||
device supports the BIO_DELETE command, enabling the TRIM on created | device supports the BIO_DELETE command, enabling the TRIM on created | ||||
filesystem allows return of freed memory to the system pool. | filesystem allows return of freed memory to the system pool. | ||||
wblock: Is there a line missing here? (I know, it's not part of your patch.) | |||||
akAuthorUnsubmitted Not Done Inline ActionsActually, I'd implemented that option too. I think it should had been "on created filesystem which allows return of". This sentence is a little awkward, so I will be grateful for any suggestions. ak: Actually, I'd implemented that option too. I think it should had been "on created filesystem… | |||||
wblockUnsubmitted Not Done Inline ActionsLine 231 has a "The", which I think can just be deleted. Then for the rest: .Xr md 4 supports the BIO_DELETE command, also known as TRIM. When used with a filesystem that supports TRIM, .Xr md 4 returns freed blocks to the system memory pool. wblock: Line 231 has a "The", which I think can just be deleted. Then for the rest:
```.Xr md 4… | |||||
akAuthorUnsubmitted Not Done Inline ActionsThis is slightly technically incorrect: BIO_DELETE is a geom command, which indicates that a certain range of data is no longer used and can be erased, trim is an implementation specific for ata, for scsi, for example, it is called unmap, so they are not equivalent in general. Also trim on fs needs to be explicitly enabled, while md(4) supports it passively, so IMHO previous sentence was a little more clear. ak: This is slightly technically incorrect: BIO_DELETE is a geom command, which indicates that a… | |||||
impUnsubmitted Not Done Inline ActionsI'd remove the 'aka TRIM bit, and then say When used with a filesystem that issue BIO_DELETE bio requests, or .Xr md 4 returns blocks to the system memory pool in response imp: I'd remove the 'aka TRIM bit, and then say
When used with a filesystem that issue BIO_DELETE… | |||||
.It Fl T Ar fstype | |||||
Specify a file system type for a vnode-backed memory disk. | |||||
The | |||||
.Cm cd9660 , | |||||
.Cm ext2fs , | |||||
.Cm msdosfs , | |||||
and | |||||
.Cm udf | |||||
file systems are supported. | |||||
wblockUnsubmitted Not Done Inline ActionsWhy not UFS? wblock: Why not UFS? | |||||
akAuthorUnsubmitted Not Done Inline ActionsSure, you can specify -T ufs, but ufs is default, you don't need -T to select it. ak: Sure, you can specify -T ufs, but ufs is default, you don't need -T to select it. | |||||
mavUnsubmitted Not Done Inline ActionsDefault may change at some point, who knows, and it is good to be able to explicitly specify things even if they are default. Inability to do it create more problems for other code that has also know about this UFS default, and that this options must not be specified in case of UFS. mav: Default may change at some point, who knows, and it is good to be able to explicitly specify… | |||||
This only makes sense if both | |||||
wblockUnsubmitted Not Done Inline Actions.Fl T only applies when .Fl F and .Fl P are used. wblock: ```.Fl T
only applies when
.Fl F
and
.Fl P
are used.``` | |||||
akAuthorUnsubmitted Not Done Inline ActionsNoted. ak: Noted. | |||||
.Fl F | |||||
and | |||||
.Fl P | |||||
are specified. | |||||
.It Fl U | .It Fl U | ||||
Enable soft-updates on the file system. | Enable soft-updates on the file system. | ||||
This is the default, and is accepted only | This is the default, and is accepted only | ||||
Context not available. | |||||
.Fl o | .Fl o | ||||
option is passed to | option is passed to | ||||
.Xr mount 8 | .Xr mount 8 | ||||
with the same letter. | with the same letter; | ||||
the | |||||
.Fl T | |||||
option is passed to | |||||
.Xr mount 8 | |||||
as | |||||
.Fl t . | |||||
See the programs that the options are passed to for more information | See the programs that the options are passed to for more information | ||||
on their semantics. | on their semantics. | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
Context not available. | |||||
using automatic device numbering: | using automatic device numbering: | ||||
.Pp | .Pp | ||||
.Dl "mdmfs -P -F foo.img mds1a /tmp/" | .Dl "mdmfs -P -F foo.img mds1a /tmp/" | ||||
.Pp | |||||
Mount a vnode-backed cd9660 file system using automatic device numbering: | |||||
.Pp | |||||
.Dl "mdmfs -T cd9660 -P -F foo.iso md /tmp" | |||||
.Sh COMPATIBILITY | .Sh COMPATIBILITY | ||||
The | The | ||||
.Nm | .Nm | ||||
Context not available. |
Is there a line missing here? (I know, it's not part of your patch.)