System Administration Guide: Devices and File Systems

ProcedureHow to Remove a USB Mass Storage Device With vold Running

The following procedure uses a Zip drive as an example of removing a USB device with vold running.

Steps
  1. Stop any active applications that are using the device.

  2. Unmount the device.

    For example:


    $ volrmmount -e zip0
    
  3. Eject the device.

    For example:


    $ eject zip0
    
  4. Become superuser and stop vold.


    # /etc/init.d/volmgt stop
    
  5. Remove the USB mass storage device.

  6. Start vold.


    # /etc/init.d/volmgt start