Page MenuHomeFreeBSD

handbook: fix various formatting issues in ZFS chapter

Authored by bhd on Aug 26 2017, 11:07 AM.


  • Indent <screen> content properly
  • Add missing quote in 'zfs set sharenfs' command
  • Use root prompt in various places to reflect reality
  • Add missing <userinput> tags
  • Remove a useless 'zfs list' command

Diff Detail

rD FreeBSD doc repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bhd created this revision.Aug 26 2017, 11:07 AM
bcr edited edge metadata.Aug 26 2017, 11:49 AM

A few things I've found.

1896 ↗(On Diff #32404)

Be careful not to mix whitespace with content changes. These need to be two separate commits: one for the indentations and the rest for the content changes you listed.

2179 ↗(On Diff #32404)

I think this example should also contain vi.recover. Otherwise, readers might wonder where it is coming from all of a sudden after the rollback or whether it was caused by the rollback (which is not, but that might cause confusion).

2650 ↗(On Diff #32404)

While we're here, we could replace this line with sysrc:
sysrc -f /etc/sysctl.conf vfs.usermount=1

bhd updated this revision to Diff 32421.Aug 27 2017, 10:36 AM
bhd marked 3 inline comments as done.

Address bcr@ comments. Update diff.

bcr accepted this revision.Aug 27 2017, 3:04 PM

Approved, thanks for working on it.

This revision is now accepted and ready to land.Aug 27 2017, 3:04 PM
This revision was automatically updated to reflect the committed changes.
wblock added inline comments.Sep 1 2017, 8:48 PM
1896 ↗(On Diff #32404)

Whitespace inside <screen> and <programlisting> elements really is content. That is, it affects how the final rendered version appears, where normal whitespace like that in paragraphs does not. And the point of this whole whitespace runaround is to make sure translators only see changes to content that affects how the final rendered version looks.
So, again, whitespace inside certain elements like <screen> and <programlisting> is really content.

bhd added a comment.Sep 2 2017, 10:17 AM

Quite interesting. Thank you Warren!