All Topics  
USB mass storage device class

 
USB Mass Storage Device Class

   Email Print
   Bookmark   Link






 

USB mass storage device class



 
 
The USB mass storage device class or USB MSC or UMS is a set of computing communications protocols
Protocol (computing)

In computer science, a protocol is a convention or standard that controls or enables the connection, communication, and data transfer between computing endpoints....
 defined by the USB Implementers Forum
USB Implementers Forum

The USB Implementers Forum is a non-profit organisation to promote and support the Universal Serial Bus. Its main activities are the promotion and marketing of USB, Wireless USB, USB On-The-Go, and the maintenance of the specifications, as well as a compliance program....
 that run on the Universal Serial Bus
Universal Serial Bus

In information technology, Universal Serial Bus is a Serial communications computer bus standard to electrical connector devices to a host computer....
. The standard provides an interface to a variety of storage devices.

Some of the devices which are connected to computers via this standard are:

Devices which support this standard are referred to as MSC (Mass Storage Class) devices.






Discussion
Ask a question about 'USB mass storage device class'
Start a new discussion about 'USB mass storage device class'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The USB mass storage device class or USB MSC or UMS is a set of computing communications protocols
Protocol (computing)

In computer science, a protocol is a convention or standard that controls or enables the connection, communication, and data transfer between computing endpoints....
 defined by the USB Implementers Forum
USB Implementers Forum

The USB Implementers Forum is a non-profit organisation to promote and support the Universal Serial Bus. Its main activities are the promotion and marketing of USB, Wireless USB, USB On-The-Go, and the maintenance of the specifications, as well as a compliance program....
 that run on the Universal Serial Bus
Universal Serial Bus

In information technology, Universal Serial Bus is a Serial communications computer bus standard to electrical connector devices to a host computer....
. The standard provides an interface to a variety of storage devices.

Usb Flash Drive
Some of the devices which are connected to computers via this standard are:
  • external magnetic hard drives
  • external optical drives, including CD and DVD
    DVD

    DVD, also known as "Digital Versatile Disc" or "Digital Video Disc,"is a popular optical disc data storage device media format. Its main uses are video and data storage....
     reader and writer drives
  • portable flash memory
    Flash memory

    Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....
     devices
    USB flash drive

    A USB flash drive consists of a Flash memory#NAND memories-type flash memory data storage device integrated with a USB interface. USB flash drives are typically removable and rewritable, much smaller than a floppy disk , and most USB flash drives weigh less than an ounce ....
  • adapters bridging between standard flash memory card
    Memory card

    A memory card or flash memory card is a solid-state electronic flash memory data storage device used with digital cameras, Personal Digital Assistant and Mobile computers, telephones, music players, video game consoles, and other electronics....
    s and a USB connection
  • digital camera
    Digital camera

    A digital camera is a camera that takes video or still photographs, or both, digitally by recording digital image via an electronics .Many compact digital still cameras can record sound and moving video as well as still photographs....
    s
  • various digital audio player
    Digital audio player

    A digital audio player, more commonly referred to as an MP3 player, is a consumer electronics device that stores, organizes and plays audio file formats....
    s & portable media player
    Portable media player

    A portable multimedia player , sometimes referred to as a portable video player , is a consumer electronics device that is capable of storing and playing digital media....
    s
  • Card reader
    Card reader

    A memory card reader is a device used for communication with a smart card or a flash memory card.A business card reader is a scanning device used to scan and electronically save business cards....
    s
  • Portable Gaming systems (Nokia N-GAGE/Sony PSP)
  • personal data assistants and handheld computers
  • some newer mobile phones, such as the Sony Ericsson K800
    Sony Ericsson K800

    The Sony Ericsson K800i, and its variant, the Sony Ericsson K790, are mobile phones of their class from Sony Ericsson. Launched in July 2006 , the phones are the successor to the Sony Ericsson K750i....
     and K510
    Sony Ericsson K510

    The K510 is a mobile telephone manufactured by Sony Ericsson. The model's features are a 262,144-colour TFT LCD screen , 28 megabytes of shared memory, a 1.3 megapixel camera, RSS reader, 3D graphics capabilities, loudspeaker, MP3 and Advanced Audio Coding audio playback, 3GP video recording and playback, Bluetooth and an infrared communications p...
    , Nokia N73
    Nokia N73

    The Nokia N73 is a smartphone by Nokia officially described as a "multimedia computer". In common with other Nokia Nokia Nseries and Nokia Eseries phones of its time , the N73 comes loaded with many software applications, including contacts, messaging, picture and video galleries, a music player, a Visual Radio, RealPlayer, an Instant messagi...
    , Nokia E61
    E61

    E61 may refer to:* Nokia E61 smartphone* BMW E60 automobile platform* E61, a commercial espresso machine brew group* E61, a commercial Grouphead for espresso machines...


Devices which support this standard are referred to as MSC (Mass Storage Class) devices. While MSC is the official abbreviation, UMS (Universal Mass Storage) has become common in on-line jargon.

Operating system support

Most current mainstream operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
s include support for USB mass storage devices, although support on older systems is available through patches.

Microsoft Windows


Windows 95
Windows 95

Windows 95 is a consumer-oriented graphical user interface-based operating system. It was released on August 24, 1995 by Microsoft, and was a significant progression from the company's previous Microsoft Windows products....
 OSR2.1, an update to the operating system, featured very limited support for USB. During that time, no generic USB mass storage driver was produced by Microsoft, even for Windows 98
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
. This meant that a device-specific driver was needed for each type of USB storage device. Today, generic drivers which support USB flash drives even in Windows 98 are available as free downloads. By 2000, the problem was almost solved. Products designed for Windows Me
Windows Me

Windows Millennium Edition, or Windows Me , is a hybrid 16-bit/32-bit graphical operating system released on 14 September 2000 by Microsoft....
 and Windows 2000
Windows 2000

Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
 (where a specific driver was required only for rare devices) are only fully corrected in subsequent OSes. On Windows Server 2003
Windows Server 2003

Windows Server 2003 is a Server operating system produced by Microsoft. Introduced on 24 April 2003 as the successor to Windows 2000 Server, it is considered by Microsoft to be the cornerstone of its Windows Server System line of business server products....
, however, a drive letter has to be assigned to it in order to access it. This can be done in Disk Management (under Computer Management (local) | Storage | Disk Management).

There is no native (supplied by Microsoft) support for USB in Windows NT
Windows NT

Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993. It was originally designed to be a powerful high-level-language-based, processor-independent, multiprocessing, multiuser operating system with features comparable to Unix....
, earlier versions of Windows, or MS-DOS
MS-DOS

MS-DOS is an operating system commercialized by Microsoft. It was the most commonly used member of the DOS family of operating systems and was the main operating system for personal computers during the 1980s....
, although some third-party solutions exist for each OS. A third party driver for Windows 98 and Windows 98SE
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
 is also now available. There is also a USB UMS driver for Windows NT 4.FreeDOS
FreeDOS

FreeDOS is an operating system for IBM PC compatible computers. FreeDOS is made up of many different, separate programs that act as "packages" to the overall FreeDOS Project....
 supports USB mass storage as ASPI
ASPI

ASPI, the Advanced SCSI Programming Interface provides an Application programming interface originated by Adaptec which standardizes communication on a computer bus between a SCSI host adapter on the one hand and SCSI peripherals on the other....
 devices.

Windows Mobile
Windows Mobile

Windows Mobile is a compact operating system combined with a suite of basic applications for mobile devices based on the Microsoft Windows API application programming interface....
 supports accessing most USB mass storage devices formatted with FAT
File Allocation Table

File Allocation Table or FAT is a computer file system architecture now widely used on most computer systems and most memory cards, such as those used with digital cameras....
 on devices with USB Host, although portable devices typically cannot provide enough power for disk enclosure
Disk enclosure

A disk enclosure is essentially a specialized chassis designed to hold and power disk drives while providing a mechanism to allow them to communicate to one or more separate computers....
s containing hard drives (a 2.5" hard drive typically requires the maximum 2.5 W
WATT

WATT is a radio station broadcasting a News radio-Talk radio-Sports radio format. Licensed to Cadillac, Michigan, it first began broadcasting in 1945....
 provided by the USB specification). On the other way around, Windows Mobile devices can not show their file systems as a mass storage device unless the device implementer explicitly decides to add such functionality. However, third party applications exist to add MSC emulation to most WM devices (commercial "Softick CardExport" and free "WM5torage"). Generally only memory cards can be exported, and not internal storage memory, due to the complications outlined below.

Mac OS


Apple Computer
Apple Computer

Apple Inc., formerly Apple Computer Inc., is an United States multinational corporation which designs and manufactures consumer electronics and software products....
's Mac OS
Mac OS

Mac OS is the trademarked name for a series of graphical user interface-based operating systems developed by Apple Inc. for their Macintosh line of computer systems....
 8.5.1 supports USB mass storage through an optional driver. Mac OS 9 and Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
 support USB mass storage natively.

Unix-like


The Linux kernel
Linux kernel

The Linux kernel is an operating system kernel used by a family of Unix-like operating systems. The term Linux distribution is used to refer to the various operating systems that run on top of the Linux Kernel....
 has supported USB mass storage devices via a generic driver since kernel version 2.4 (year 2001), and a backport to kernel 2.2 has also been made. Solaris
Solaris Operating System

Solaris is a Unix-based operating system introduced by Sun Microsystems in 1992 as the successor to SunOS.Solaris is known for its scalability, especially on SPARC systems, and for originating many innovative features such as DTrace and ZFS....
 also supports devices since the 2.8 release and up (year 1998), NetBSD
NetBSD

NetBSD is a freely redistributable, open source version of the Unix-derivative Berkeley Software Distribution computer operating system. It was the second open source BSD descendant to be formally released, after 386BSD, and continues to be actively developed....
 since the 1.5 release and up (year 2000), FreeBSD
FreeBSD

FreeBSD is a Unix-like free software operating system descended from AT&T Unix via the Berkeley Software Distribution branch through the 386BSD and Berkeley Software Distribution#4.4BSD and descendants operating systems....
 since the 4.0 release and up (year 2000), and OpenBSD
OpenBSD

OpenBSD is a Unix-like computer operating system descended from Berkeley Software Distribution , a Unix derivative developed at the University of California, Berkeley....
 since the 2.7 release and up (year 2000).

AmigaOS


AmigaOS
AmigaOS

AmigaOS is the default native operating system of the Amiga personal computer. It was developed first by Commodore International, and initially introduced in 1985 with the Amiga 1000....
 supports UMASS storage devices through Poseidon, a third-party USB stack which has become a de facto standard. It supports various USB device types through a modular system of Hardware Independent Device Driver (HIDD) classes. Poseidon as used in AmigaOS Classic up to version 4.0, and in the MorphOS
MorphOS

MorphOS is a computer operating system . It is a mixed proprietary software and open source OS produced for the Pegasos PowerPC -processor-based computer, most models of PPC-accelerator-equipped Amiga computers, and a series of Freescale development boards that use the Genesi Firmware, including the EFIKA and mobileGT....
 operating system. The supposedly final AmigaOS version of the Poseidon stack is released OEM licensed with the Deneb USB card in May 2008. AmigaOS 4.0
AmigaOS 4

AmigaOS 4 is a line of Amiga operating systems which runs on PowerPC microprocessors. "The Final Update" was released in 24 December 2006 after five years of development by the Belgian company Hyperion Entertainment under license from Amiga, Inc....
 has its own USB stack called Sirion, though it can still use Poseidon. A new USB stack called ANAIIS (Another Native Amiga IO Interface Stack) is available for all Amiga platforms with Highway or Subway hardware, but does not yet support UMASS.

FAT16 and FAT32 filesystems are supported by the FAT95 filesystem.

AROS
Aros

Aros may refer to:Aros-Eros-Cupid-AmorIt is believed that the origins above led Saint Valentines enthusiasts to appoint the Roman god Cupid as the patron of Valentine's day -- that is the story of Lupercalia and the love and romance associatied with the St....
, an Open Source
Open source

Open source is an approach to design, development, and distribution offering practical accessibility to a product's source . Some consider open source as one of various possible design approaches, while others consider it a critical Strategy element of their business operations....
 AmigaOS
AmigaOS

AmigaOS is the default native operating system of the Amiga personal computer. It was developed first by Commodore International, and initially introduced in 1985 with the Amiga 1000....
 clone for Intel based PCs, does support UHCI and OHCI USB root hubs (since May 2007) but does not yet support USB mass storage class.

Game consoles


The Xbox 360
Xbox 360

The Xbox 360 is the second video game console produced by Microsoft, and the successor to the Xbox. The Xbox 360 competes with Sony's PlayStation 3 and Nintendo's Wii as part of the History of video game consoles of video game consoles....
 and PlayStation 3
PlayStation 3

The PlayStation 3 is the third home video game console produced by Sony Computer Entertainment, and the successor to the PlayStation 2 as part of the PlayStation ....
 support most mass storage devices.

Graphing Calculators


Independent developers have released drivers for the TI-84 Plus and TI-84 Plus Silver Edition in order to access USB mass storage devices. usb8x
Usb8x

Usb8x is a Flash Memory application for the TI-84+ and TI-84+SE Graphing calculator. It is a driver that interfaces with the calculator's built in USB port, allowing developers to easily create their own USB device drivers for use on the calculators....
 contains the driver for this access, while msd8x handles the user interface.

Device access


Usbcardreader
The USB mass storage specification does not require any particular file system
File system

In computing, a file system is a method for store and organize computer files and the data they contain to make it easy to find and access them....
 to be used on conforming devices. Instead, it provides a simple interface to read and write sectors of data—much like the low-level interface used to access any hard drive—using the "SCSI
SCSI

Small Computer System Interface, or SCSI , is a set of standards for physically connecting and transferring data between computers and peripheral devices....
 transparent command set." Operating systems may treat the USB drive like a hard drive, and can format it with any file system they like.

Because of its ubiquity and relative simplicity, the most common file system on embedded devices
Embedded system

An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints....
 such as USB flash drive
USB flash drive

A USB flash drive consists of a Flash memory#NAND memories-type flash memory data storage device integrated with a USB interface. USB flash drives are typically removable and rewritable, much smaller than a floppy disk , and most USB flash drives weigh less than an ounce ....
s, cameras, or digital audio players is Microsoft's FAT
File Allocation Table

File Allocation Table or FAT is a computer file system architecture now widely used on most computer systems and most memory cards, such as those used with digital cameras....
 or FAT32 file system with (optional) support for long names
File Allocation Table

File Allocation Table or FAT is a computer file system architecture now widely used on most computer systems and most memory cards, such as those used with digital cameras....
. Large USB-based hard disks may come formatted with NTFS
NTFS

NTFS is the standard file system of Windows NT, including its later versions Windows 2000, Windows XP, Windows Server 2003, Windows Server 2008, Windows Vista, and Windows 7....
, which is much less supported outside Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
. However, a keydrive or any other device may be formatted using another filesystem (for example HFS Plus
HFS Plus

HFS Plus or HFS+ is a file system developed by Apple Inc. to replace their Hierarchical File System as the primary file system used in Apple Macintosh computers ....
 on an Apple Macintosh, or Ext2
Ext2

The ext2 or second extended filesystem is a file system for the Linux kernel . It was initially designed by R?my Card as a replacement for the extended file system ....
 under Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
, or Unix File System
Unix File System

The Unix file system is a file system used by many Unix and Unix-like operating systems. It is also called the University of California, Berkeley Fast File System, the Berkeley Software Distribution Fast File System or FFS....
 under Solaris or BSD). Of course, this choice may limit other operating systems' ability to access the contents of the device.

In cameras, MP3 players, and similar gadgets which must access the file system independently from an external host, the FAT filesystem is typically preferred by device manufacturers.

Complications of the mass-storage device class


Hard drive-based devices

Many modern hard drives support additional advanced commands, such as Native Command Queuing
Native Command Queuing

Native Command Queuing is a technology designed to increase performance of SATA hard disks under certain situations by allowing the individual hard disk to internally optimize the order in which received read and write commands are executed....
, which may increase performance, and S.M.A.R.T., which allows a computer to measure various indicators of drive reliability. These exist as extensions to the basic low-level command sets used by hard drives, such as SCSI
SCSI

Small Computer System Interface, or SCSI , is a set of standards for physically connecting and transferring data between computers and peripheral devices....
, SATA
Sata

Sata is a traditional dish from the Malaysian state of Terengganu, consisting of spiced fish meat wrapped in banana leaves and cooked on a grill....
, or PATA
Pata

Pata can refer to:*Pata , an Indian weapon*Tomoaki Ishizuka, Japanese guitarist*Pata, Sulu, a Philippine municipality*Pata, Galanta District, a village in the Galanta District of Slovakia...
.

These features do not work when hard drives are encapsulated in a disk enclosure
Disk enclosure

A disk enclosure is essentially a specialized chassis designed to hold and power disk drives while providing a mechanism to allow them to communicate to one or more separate computers....
 supporting the USB mass storage interface. USB mass storage provides a generic interface which only provides basic read/write commands, as outlined above. This works perfectly well for basic data transfer using hard drive-based devices, however it means that there is no simple way to send advanced, device-specific commands to USB mass storage devices (although devices may create their own communication protocols over the USB-standard "control interface").

The new eSATA standard for external drives promises to address this issue, since it extends the internal SATA bus to external disks without any intermediate translation layer.

See also

  • Disk encryption software
    Disk encryption software

    To protect confidentiality of the data stored on a computer disk a computer security technique called disk encryption is used. This article discusses software that is used to implement the technique ....
  • Media Transfer Protocol
    Media Transfer Protocol

    The Media Transfer Protocol is a devised set of custom extensions to the Picture Transfer Protocol . Whereas PTP was designed for downloading photographs from digital cameras, Media Transfer Protocol supports the transfer of music files on digital audio players and movie files on portable media players....
  • Picture Transfer Protocol
    Picture Transfer Protocol

    Picture Transfer Protocol is a widely supported protocol developed by the International Imaging Industry Association to allow the transfer of images from digital cameras to computers and other peripheral devices without the need of additional device drivers....
  • USB flash drive
    USB flash drive

    A USB flash drive consists of a Flash memory#NAND memories-type flash memory data storage device integrated with a USB interface. USB flash drives are typically removable and rewritable, much smaller than a floppy disk , and most USB flash drives weigh less than an ounce ....


External links

  • — on the site of the USB Implementers Forum.
  • — describes how bootable USB Mass Storage devices should work.
  • is a link that often rots, lately found buried at -> Developers -> Documents -> Class Specs -> Approved -> Mass Storage -> "Mass Storage Bulk Only 1.0".