How many times can things like -v be specified with zdb?

Moderators: jhartley, MSR734, nola

How many times can things like -v be specified with zdb?

Post by grahamperrin » Fri Nov 16, 2012 3:49 am

An example, found in Console -

2012-11-16 07:03:11.553 sudo[26607]: gjp22 : TTY=ttys000 ; PWD=/Volumes/gjp22 ; USER=root ; COMMAND=/usr/local/bin/zdb -hvvvvv zhandy

– that's because the man page for zdb(8) invites us to specify -v and other things multiple times, without specifying a limit; and because I don't know whether five is too many.

For each thing that can be specified multiple times, where do I find its limit?
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: How many times can things like -v be specified with zdb?

Post by dbrady » Fri Nov 16, 2012 11:10 am

From my reading of the code (zdb.c), it appears that 5 is the current upper limit for the 'v' option (anything above that yields no additional output).

-Don
dbrady Offline


 
Posts: 67
Joined: Wed Sep 12, 2012 12:43 am

Re: How many times can things like -v be specified with zdb?

Post by grahamperrin » Mon Nov 19, 2012 11:38 am

Thanks.

Glancing at https://www.illumos.org/issues/2088 (resolved) I guess that illumos gate will be a good place to request an improvement. I'll check with someone in IRC.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 3 guests

cron