umass.4freebsd

Langue: en

Autres versions - même langue

Version: 361952 (ubuntu - 24/10/10)

Section: 4 (Pilotes et protocoles réseau)


BSD mandoc

NAME

umass - USB Mass Storage Devices driver

SYNOPSIS

To compile this driver into the kernel, place the following line in your kernel configuration file:
device umass

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:

 umass_load="YES"
 

DESCRIPTION

The driver provides support for Mass Storage devices that attach to the USB port.

To use the driver, usb(4) and one of uhci(4) or ohci(4) must be configured in the kernel. Additionally, since uses the SCSI subsystem and sometimes acts as a SCSI device, it requires da(4) and scbus(4) to be included in the kernel.

HARDWARE

The driver supports USB Mass Storage devices, including:

Among the supported digital cameras are:

EXAMPLES

 device umass
 device scbus
 device da
 device pass
 

Add the driver to the kernel.

"camcontrol rescan 0"

Rescan a Zip drive that was added after boot. The command above assumes that the Zip drive is on the first SCSI bus in the system.

 camcontrol rescan 0:0:0
 camcontrol rescan 0:0:1
 camcontrol rescan 0:0:2
 camcontrol rescan 0:0:3
 

Rescan all slots on a multi-slot flash reader, where the slots map to separate LUNs on a single SCSI ID. Typically only the first slot will be enabled at boot time. Again, this assumes that the flash reader is the first SCSI bus in the system.

 bsdlabel -w da0 zip100
 newfs da0c
 mount -t ufs /dev/da0c /mnt
 

Write a disklabel to the Zip drive (see vpo(4) for the disktab(5) entry), creates the file system and mounts the new file system on /mnt.

"newfs_msdos /dev/da0"

Create a new FAT type file system. Care should be taken not to run newfs(8) on devices that already contain data, as this will result in the information being lost.

Many consumer devices such as digital cameras automatically create MS-DOS based file systems when storing information such as images and videos. These file systems can be accessed by specifying the file system type as msdos when using mount(8).

SEE ALSO

ehci(4), ohci(4), uhci(4), usb(4), vpo(4), disktab(5), bsdlabel(8), camcontrol(8)

AUTHORS

An -nosplit The driver was written by An MAEKAWA Masahide Aq bishop@rr.iij4u.or.jp and An Nick Hibma Aq n_hibma@FreeBSD.org .

This manual page was written by An Nick Hibma Aq n_hibma@FreeBSD.org .