Skip to content

Commit

Permalink
zfs_main.c: Cleanup
Browse files Browse the repository at this point in the history
- `HELP_MOUNT` should accurately reflect the mount options
- Improved the "recursive" checks in `get_one_dataset()`
- Corrected the `zfs_open()` implementation
- Changed `-r` to `-A` since "recursive" may be misleading
- Added `mount_noauto` to enable the mounting of "recursive" filesystems

Signed-off-by: QORTEC <[email protected]>
  • Loading branch information
QORTEC committed Sep 15, 2023
1 parent f6a3b18 commit 1982580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/man8/zfs-mount.8
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ See
.Xr mount 8
for more information.
.It Fl a Ar filesystem
Mounts the specified ZFS file system and its children.
Mounts the specified filesystem and its children, provided they are available.
If no filesystem is specified, then all available ZFS file systems are mounted; may be invoked automatically as part of the boot process if configured.
.It Fl r Ar filesystem
Mounts the specified ZFS file system and its children.
.It Fl A Ar filesystem
Mounts the specified filesystem and its children, provided they are available.
Note: datasets with the `canmount=noauto` property will also be mounted.
.It Ar filesystem
Mount the specified filesystem.
Expand Down

0 comments on commit 1982580

Please sign in to comment.