Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/geom/class/nop/gnop.8
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd September 15, 2015 | .Dd October 10, 2015 | ||||
.Dt GNOP 8 | .Dt GNOP 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm gnop | .Nm gnop | ||||
.Nd "control utility for NOP GEOM class" | .Nd "control utility for NOP GEOM class" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Cm create | .Cm create | ||||
Show All 31 Lines | |||||
.Nm | .Nm | ||||
.Cm unload | .Cm unload | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility is used for setting up transparent providers on existing ones. | utility is used for setting up transparent providers on existing ones. | ||||
Its main purpose is testing other GEOM classes, as it allows forced provider | Its main purpose is testing other GEOM classes, as it allows forced provider | ||||
removal and I/O error simulation with a given probability. | removal and I/O error simulation with a given probability. | ||||
It also gathers the following statistics: number of read requests, number of | It also gathers statistics on the number of read, write, delete, | ||||
write requests, number of bytes read and number of bytes written. | getattr, flush, and other requests, and the number of bytes read and written. | ||||
In addition, it can be used as a good starting point for implementing new GEOM | .Nm | ||||
can also be used as a good starting point for implementing new GEOM | |||||
classes. | classes. | ||||
.Pp | .Pp | ||||
The first argument to | The first argument to | ||||
.Nm | .Nm | ||||
indicates an action to be performed: | indicates an action to be performed: | ||||
.Bl -tag -width ".Cm configure" | .Bl -tag -width ".Cm configure" | ||||
.It Cm create | .It Cm create | ||||
Set up a transparent provider on the given devices. | Set up a transparent provider on the given devices. | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |