xref: /freebsd/share/man/man4/umass.4 (revision 474fc32b337d728406effe906860cd6a619f5622)
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.\"
33.Dd May 3, 1999
34.Dt UMASS 4
35.Os FreeBSD
36.Sh NAME
37.Nm umass
38.Nd USB Mass Storage Devices Driver
39.Sh SYNOPSIS
40.Cd "controller umass0"
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for Mass Storage devices that attach to the USB
45port. Supported are
46.Bl -tag -compact -width xxxxxx
47.It Iomega Zip 100 drive
48.El
49.Nm usb
50and one of
51.Nm uhci
52or
53.Nm ohci
54must be configured in the kernel as well. Last but not least, support for
55SCSI drives,
56.Nm da
57.Sh EXAMPLE
58.Dl controller umass0
59.Dl controller scbus0
60.Dl device da0
61.Dl device pass0
62.Pp
63Add the
64.Nm umass
65driver to the kernel.
66.Pp
67.Dl camcontrol rescan 0
68.Pp
69Rescan a Zip drive that was added after boot. The command above
70assumes that the Zip drive is the first SCSI bus in the system.
71.Pp
72.Dl disklabel -w -r da0 zip100
73.Dl newfs da0c
74.Dl mount -t ufs /dev/da0c /mnt
75.Pp
76Write a disklabel to the Zip drive (see
77.Nm vpo
78for the
79.Nm disktab
80entry), creates the filesystem and mounts the new filesystem on /mnt.
81.Pp
82.Dl newfs_msdos /dev/da0
83.Pp
84Create a new FAT type filesystem.
85.Sh SEE ALSO
86.Xr ohci 4 ,
87.Xr uhci 4 ,
88.Xr usb 4 ,
89.Xr vpo 4 ,
90.Xr disktab 5 ,
91.Xr camcontrol 8 ,
92.Xr disklabel 8
93.\".Sh HISTORY
94.Sh AUTHORS
95The
96.Nm umass
97driver was written by
98.An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp
99and
100.An Nick Hibma Aq hibma@skylink.it .
101.Pp
102This manual page was written by
103.An Nick Hibma Aq hibma@skylink.it .
104