Page MenuHomeFreeBSD

Refresh tmpfs(5) man page.
ClosedPublic

Authored by kib on Jan 17 2017, 2:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 28 2024, 10:06 PM
Unknown Object (File)
Sep 24 2024, 2:17 AM
Unknown Object (File)
Sep 24 2024, 12:10 AM
Unknown Object (File)
Sep 21 2024, 4:41 PM
Unknown Object (File)
Sep 21 2024, 4:47 AM
Unknown Object (File)
Sep 20 2024, 5:05 AM
Unknown Object (File)
Sep 20 2024, 5:05 AM
Unknown Object (File)
Sep 20 2024, 5:05 AM

Details

Summary

Provide more useful explanation of features and quirks.

The BUGS section is removed, I cannot get any sense of the sentence.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib retitled this revision from to Refresh tmpfs(5) man page..
kib updated this object.
kib edited the test plan for this revision. (Show Details)
kib added a reviewer: emaste.
kib set the repository for this revision to rS FreeBSD src repository - subversion.
emaste added a subscriber: wblock.

I guess the BUGS section means that many common -o options are unimplemented or do not work correctly?

share/man/man5/tmpfs.5
83 ↗(On Diff #24111)

"in main memory"

84 ↗(On Diff #24111)

Would split into separate sentences. Something along the lines of "the data. The data is volatile. An umount or system reboot invalidates it."

87 ↗(On Diff #24111)

These properties

91–92 ↗(On Diff #24111)

This seems awkward to me - I would say "on memory and swap is configured (see .Xr swapin 8)", but I'm not sure if that's canonical in our man pages. Maybe @wblock has a suggestion.

93 ↗(On Diff #24111)

here just "written to swap" or "written to the swap space" or partition etc.

95 ↗(On Diff #24111)

The current implementation

96 ↗(On Diff #24111)

This can be a separate sentence. "content. Keep this"
expand "esp."
and maybe "when expecting to place a lot of small files on a tmpfs mount."

99 ↗(On Diff #24111)

"When a file from a tmpfs mount" perhaps

104 ↗(On Diff #24111)

pages is used

kib marked 8 inline comments as done.Jan 17 2017, 3:25 PM

I guess the BUGS section means that many common -o options are unimplemented or do not work correctly?

Common options like "union" are handled in the vfs layer.

kib edited edge metadata.

Ed notes.

emaste edited edge metadata.

I think this is good (with a few additional comments), but probably allow the manpages group a short while to comment.

share/man/man5/tmpfs.5
98 ↗(On Diff #24116)

'a' still missing (a lot), but probably "place many small files" is better.

165 ↗(On Diff #24116)

we should expand this SoC too, "Summer of Code"

This revision is now accepted and ready to land.Jan 19 2017, 3:56 PM
kib marked 2 inline comments as done.
kib edited edge metadata.

More notes from Ed.

This revision now requires review to proceed.Jan 19 2017, 4:37 PM
emaste edited edge metadata.
This revision is now accepted and ready to land.Jan 19 2017, 4:40 PM
vangyzen added a reviewer: vangyzen.
vangyzen added a subscriber: vangyzen.

This looks good. Thanks!

share/man/man5/tmpfs.5
91 ↗(On Diff #24195)

If the system

92 ↗(On Diff #24195)

swapin -> swapon

105 ↗(On Diff #24195)

"...causes process..."

kib marked 3 inline comments as done.Jan 19 2017, 6:21 PM
This revision was automatically updated to reflect the committed changes.
head/share/man/man5/tmpfs.5
80

Needs an article: s/implements/implements an/

86

s/An/A/

88

Unless other parts of the document are in Latin also, avoid Latin abbreviations:

scratch storage, like
93

The "may" here is ambiguous. Does it mean I have permission to do it? Yet "might" is not right either. Probably better to make the sentence more specific:

the system can transfer file data to swap space, freeing memory
95

Rearrange for clarity:

Metadata, including the directory content, is never swapped out by the
current implementation.

"directory content" can be read several ways. Surely directory metadata, but a reader could take that to mean "files in a directory".

98

Maybe s/on/in/, although it's arguable.

104

This is a long and complex sentence. Eliminating the aside helps a bit:

When 
.Xr mmap 2
is used on a file from a tmpfs mount, the swap VM object managing the 
file pages is used to implement mapping and avoid double-copying of
the file data.
head/share/man/man5/tmpfs.5
86

Oh, I read this as "An unmount," not a reference to umount(8).
I think either fix ("An unmount" or "A umount") is fine.

kib marked 6 inline comments as done.

Continued in D9258.

head/share/man/man5/tmpfs.5
98

I never saw the usage of 'file in mount'.