xref: /freebsd/share/man/man4/umass.4 (revision 4cf49a43559ed9fdad601bdcccd2c55963008675)
1.\" Copyright (c) 1999
2.\"	Nick Hibma <hibma@skylink.it>. 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.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"	This product includes software developed by Bill Paul.
15.\" 4. Neither the name of the author nor the names of any co-contributors
16.\"    may be used to endorse or promote products derived from this software
17.\"   without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY NICK HIBMA AND CONTRIBUTORS ``AS IS'' AND
20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22.\" ARE DISCLAIMED.  IN NO EVENT SHALL NICK HIBMA OR THE VOICES IN HIS HEAD
23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29.\" THE POSSIBILITY OF SUCH DAMAGE.
30.\"
31.\"	$FreeBSD$
32.\" $FreeBSD$
33.\"
34.Dd May 3, 1999
35.Dt UMASS 4 i386
36.Os FreeBSD
37.Sh NAME
38.Nm umass
39.Nd USB Mass Storage Devices Driver
40.Sh SYNOPSIS
41.Cd "controller umass0"
42.Sh DESCRIPTION
43The
44.Nm
45driver provides support for Mass Storage devices that attach to the USB
46port. Supported are
47.Bl -tag -compact -width xxxxxx
48.It Iomega Zip 100 drive
49.El
50.Nm usb
51and one of
52.Nm uhci
53or
54.Nm ohci
55must be configured in the kernel as well. Last but not least, support for
56SCSI drives,
57.Nm da
58.Sh EXAMPLE
59.Dl controller umass0
60.Dl controller scbus0
61.Dl device da0
62.Dl device pass0
63.Pp
64Add the
65.Nm umass
66driver to the kernel.
67.Pp
68.Dl camcontrol rescan 0
69.Pp
70Rescan a Zip drive that was added after boot. The command above
71assumes that the Zip drive is the first SCSI bus in the system.
72.Pp
73.Dl disklabel -w -r da0 zip100
74.Dl newfs da0c
75.Dl mount -t ufs /dev/da0c /mnt
76.Pp
77Write a disklabel to the Zip drive (see
78.Nm vpo
79for the
80.Nm disktab
81entry), creates the filesystem and mounts the new filesystem on /mnt.
82.Pp
83.Dl newfs_msdos /dev/da0
84.Pp
85Create a new FAT type filesystem.
86.Sh SEE ALSO
87.Xr ohci 4 ,
88.Xr uhci 4 ,
89.Xr usb 4 ,
90.Xr vpo 4 ,
91.Xr disktab 5 ,
92.Xr camcontrol 8 ,
93.Xr disklabel 8
94.\".Sh HISTORY
95.Sh AUTHORS
96The
97.Nm umass
98driver was written by
99.An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp
100and
101.An Nick Hibma Aq hibma@skylink.it .
102.Pp
103This manual page was written by
104.An Nick Hibma Aq hibma@skylink.it .
105