This subcommand is similar to the disable subcommand with these distinctions:
stop unshares the shares in specified groups, and can only be reversed by using the start subcommand.
stop can be used by SMF (Service Management Facility) to unshare the shares in specified groups during a system shutdown. See the man pages for smf(5) and svcadm(1M).
stop works only on groups that are enabled.
stop permanently removes all transient shares.
This subcommand supports the following options:
Specifies all groups
Provides an online-help description
Using the stop Subcommand |
Using the svcadm Command |
||||
---|---|---|---|---|---|
The stop subcommand uses the following syntax:
The following example unshares the shares in all groups.
|
The svcadm command uses the following syntax:
The following example unshares the shares in my-group.
|