System Administration Guide: Basic Administration

How 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.

  1. Unmount the device.


    $ volrmmount -e zip0
    
  2. Stop any active applications that are using the device.

  3. Unmount the device.


    $ volrmmount -e zip0
    
  4. Eject the device.


    $ eject zip0
    
  5. Become superuser and stop vold.


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

  7. Start vold.


    # /etc/init.d/volmgt start