Project

General

Profile

Feature #1516

mdb dcmd to list kshare_t's under an smbsrv instance

Added by Gordon Ross almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-09-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Proposing an "smbshares" dcmd to go along with the other smb* dcmds.
Example usage:

> ::smblist 
SERVER           ZONE STATE                            
ffffff00d02e0580 0    RUNNING                          
> ffffff00d02e0580 ::smbshares     
smb_kshare_t     name             path
ffffff00d03c1e08 c$               /var/smb/cvol
ffffff00d03c1f08 IPC$             IPC$
ffffff00d03c1e88 test             /export/test
ffffff00d03c1d88 vss$             /var/smb/cvol/windows/system32/vss

History

#1

Updated by Gordon Ross almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
changeset:   13470:9a4405a66468
user:        Gordon Ross <gwr@nexenta.com>
date:        Wed Sep 28 13:42:41 2011 -0400

description:
       1516 mdb dcmd to list kshare_t's under an smbsrv instance
       Reviewed by: Eric Schrock <eric.schrock@delphix.com>
       Reviewed by: Adam Leventhal <ahl@delphix.com>
       Approved by: Garrett D'Amore <garrett@nexenta.com>

modified:
  usr/src/cmd/mdb/common/modules/smbsrv/smbsrv.c

Also available in: Atom PDF