Deleted Added
full compact
targ.4 (109345) targ.4 (111447)
1.\" Copyright (c) 2002
2.\" Nate Lawson. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2002
2.\" Nate Lawson. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/targ.4 109345 2003-01-16 00:24:29Z njl $
25.\" $FreeBSD: head/share/man/man4/targ.4 111447 2003-02-24 22:53:26Z ru $
26.\"
27.Dd November 15, 2002
28.Dt TARG 4
29.Os
30.Sh NAME
31.Nm targ
32.Nd SCSI target emulator driver
33.Sh SYNOPSIS

--- 9 unchanged lines hidden (view full) ---

43.Pa /usr/share/examples/scsi_target .
44.Pp
45The
46.Nm
47driver supplies control devices,
48.Pa /dev/targ0 ,
49.Pa /dev/targ1 ,
50etc.
26.\"
27.Dd November 15, 2002
28.Dt TARG 4
29.Os
30.Sh NAME
31.Nm targ
32.Nd SCSI target emulator driver
33.Sh SYNOPSIS

--- 9 unchanged lines hidden (view full) ---

43.Pa /usr/share/examples/scsi_target .
44.Pp
45The
46.Nm
47driver supplies control devices,
48.Pa /dev/targ0 ,
49.Pa /dev/targ1 ,
50etc.
51If a device is already in use, open(2) will fail and
51If a device is already in use,
52.Xr open 2
53will fail and
52.Va errno
53will be set to
54.Er EBUSY .
55After opening the device, the file descriptor must be bound to a
56specific bus/target/LUN and enabled to process CCBs using the
57.Dv TARGIOCENABLE
58ioctl.
59The process then uses

--- 94 unchanged lines hidden ---
54.Va errno
55will be set to
56.Er EBUSY .
57After opening the device, the file descriptor must be bound to a
58specific bus/target/LUN and enabled to process CCBs using the
59.Dv TARGIOCENABLE
60ioctl.
61The process then uses

--- 94 unchanged lines hidden ---