Project

General

Profile

Bug #1018

sharemgr show -P should probably recurse

Added by Rich Lowe almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
nfs - NFS server and client
Start date:
2011-05-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Talking with Gordon about sharemgr he asked why -P didn't work.

It turns out that it does in fact work, but illogically. It does not recurse through groups, thus.

  1. sharemgr show -vp -> All shares
  2. sharemgr show -vpP nfs -> the default group
  3. sharemgr show -ppP nfs zfs/some/group -> The shares of zfs/some/group, assuming it is an NFS group

It's not clear to me whether this was the intended behaviour, but, as best as I can determine, it's useless behaviour.
Utility would stem from, at the least, recursing (such that the behaviour of -vp and -vpP were logically consistent).

Also available in: Atom PDF