-
Notifications
You must be signed in to change notification settings - Fork 1.9k
zfs-jail.8: Add introductory sentence, refactor #17883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
man/man8/zfs-jail.8
Outdated
| .Pp | ||
| To allow management of the dataset from within a jail, the | ||
| .Sy jailed | ||
| property has to be set and the jail needs access to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| property has to be set and the jail needs access to the | |
| property should be set and the required | |
| .Xr devfs.conf 5 | |
| entries to expose the |
man/man8/zfs-jail.8
Outdated
| .Sy jailed | ||
| property has to be set and the jail needs access to the | ||
| .Pa /dev/zfs | ||
| device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| device. | |
| device within the jail must be present. |
man/man8/zfs-jail.8
Outdated
| .Bl -tag -width "" | ||
| The | ||
| .Nm | ||
| utility can be used to assign a dataset onto a running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| utility can be used to assign a dataset onto a running | |
| functionality can be used to assign a dataset onto a running |
zfs-jail isn't the utility itself. I originally suggested changing this to 'subcommand', but we detail both subcommands within this man page. So I think this is better wording.
man/man8/zfs-jail.8
Outdated
| feature and are not relevant on other platforms. | ||
| See | ||
| .Xr jail 8 | ||
| for more information on managing jails. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add a .Xr here to zfs-zone.8 for the equivalent functionality on Linux
Add an introductory sentance explaining why the reader may want to use this command, and establishing the requirement that the jail must be running. Move other requirements from the description of the subcommands to follow this for flow and structure. Move the caveat that this is for FreeBSD down to a cannonical CAVEATS section, and crossreference Linux's equivelant functionality. Mention that this utility can not be used to delegate the root directory of the jail to that section also. Event: OpenZFS Production User Call Reported by: Jan Brankamp <crest@rlwinm.de> Co-authored-by: Allan Jude <allan@klarasystems.com> Signed-off-by: Alexander Ziaee <ziaee@FreeBSD.org>
Motivation and Context
This documentation change is intended to make the zfs jail manual more useful by implying why the reader would want to use the utility, exposing additional limitations, and correcting the structure of the document to accommodate this change with (hopefully) a good quality flow.
Description
Add an introductory sentance explaining why the reader may want to use this command, and establishing the requirement that the jail must be running. Move other requirements from the description of the subcommands to follow this for flow and structure. Move the caveat that this is for FreeBSD down to a cannonical CAVEATS section, and mention that this utility can not be used to delegate the root directory of the jail to that section also.
Checklist:
Signed-off-by.