]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/su.4
This commit was generated by cvs2svn to compensate for changes in r52746,
[FreeBSD/FreeBSD.git] / share / man / man4 / su.4
1 .\" $FreeBSD$
2 .\" Copyright (c) 1996
3 .\"     Julian Elischer <julian@freebsd.org>.  All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\"
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" SUCH DAMAGE.
26 .\"
27 .Dd August 27, 1993
28 .Dt SU 4
29 .Os FreeBSD
30 .Sh NAME
31 .Nm su
32 .Nd scsi user-level driver
33 .Sh SYNOPSIS
34 .Cd "pseudo-device su"
35 .Sh DESCRIPTION
36 The
37 .Nm su
38 driver provides support for a 
39 process to address arbitrary locations on the scsi bus. Minor
40 numbers are mapped 1:1 to bus:target:lun. The lowest three bits being LUN
41 and the next three bits being TARGET. Remaining bits are the bus number.
42 .Pp
43 A scsi adapter must also be separately configured into the system
44 before this driver makes sense.
45 .Pp
46 .Sh KERNEL CONFIGURATION
47 There are no configuration parameters for the su option. It's either there
48 or it's not.
49
50 .Pp
51 .Sh IOCTLS
52 The 
53 .Nm
54 driver has no ioctls of it's own but rather acts as a medium for the
55 generic 
56 .Xr scsi 4
57 ioctls. These are described in
58 .Em sys/scsiio.h.
59
60
61 .Sh FILES
62 .Bl -tag -width /dev/su0-0-0XXXXXXXXXXX -compact
63 .It Pa /dev/su[0-9]-[0-7]-[0-7]
64 su{x}-{y}-{z} is the su device for the device at bus x, target y, lun z
65 .El
66 .Sh DIAGNOSTICS
67 All
68 .Xr scsi 4
69 debug ioctls work on 
70 .Nm
71 devices.
72 .Sh SEE ALSO
73 .Xr cd 4 ,
74 .Xr scsi 4 ,
75 .Xr sd 4 ,
76 .Xr ssc 4 ,
77 .Xr st 4 ,
78 .Xr uk 4
79 .Sh HISTORY
80 The
81 .Nm
82 driver appeared in 386BSD 0.1.