From owner-man-jp-reviewer@jp.freebsd.org  Sat Mar  6 13:21:52 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) id NAA18639;
	Sat, 6 Mar 1999 13:21:52 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from bio.titech.ac.jp (titbio-gw.bio.titech.ac.jp [131.112.151.2])
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) with ESMTP id NAA18628
	for <man-jp-reviewer@jp.FreeBSD.org>; Sat, 6 Mar 1999 13:21:49 +0900 (JST)
	(envelope-from masaru@pokemon.to)
Received: from pikachu.pokemon.to (fjsw2DS05.kng.mesh.ad.jp [210.147.37.5]) by bio.titech.ac.jp (8.8.5/3.5Wpl4) with ESMTP id NAA01877 for <man-jp-reviewer@jp.FreeBSD.org>; Sat, 6 Mar 1999 13:10:23 +0900 (JST)
Message-Id: <199903060410.NAA01877@bio.titech.ac.jp>
Received: from localhost (localhost [127.0.0.1])
	by pikachu.pokemon.to (8.8.8/3.6W) with ESMTP id NAA04131
	for <man-jp-reviewer@jp.FreeBSD.org>; Thu, 5 Mar 1998 13:20:31 +0900 (JST)
To: man-jp-reviewer@jp.FreeBSD.org
Date: Thu, 05 Mar 1998 13:20:30 +0900
From: MASARU Tsunoda <masaru@pokemon.to>
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: man-jp-reviewer 1124
Subject: [man-jp-reviewer 1124] su.4
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: masaru@pokemon.to

$B$D$N$@$G$9!#(B

su.4$B$N=iLu$G$9!#(B

IOCTLS$B$N(B 
 su driver has no ioctls of it's own but rather acts as a medium for
 generic scsi ioctls.
$B$N(B medium $B$NLu8l$r(B $BCg2p(B $B$H$7$^$7$?$,!"$A$g$C$H5$$K$J$j$^$9!#(B

-------------------------------
.\"	$Id: su.4,v 1.11 1997/12/29 21:07:49 brian Exp $
.\" jpman %Id: su.4,v 0.0 1999/02/22 16:13:59 horikawa Stab %
.\" Copyright (c) 1996
.\"	Julian Elischer <julian@freebsd.org>.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\"
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" 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
.\" SUCH DAMAGE.
.\"
.\"	WORD:	address		$B;XDj$9$k(B
.\"		location	$B0LCV(B
.\"		medium		$BCg2p(B
.Dd August 27, 1993
.Dt SU 4
.Os FreeBSD
.Sh $BL>>N(B
.Nm su
.Nd scsi $B%f!<%6%l%Y%k%I%i%$%P(B
.Sh $B=q<0(B
.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