[PATCH] USB mass storage unbind

Brian J. Tarricone bjt23 at cornell.edu
Tue Jul 31 13:42:44 PDT 2007


Matthew Garrett wrote:
> Wanting to format a USB stick is hardly /that/ much of a niche case, is 
> it? There needs to be a state where the device is available to the OS 
> but not mounted.

Users shouldn't have to deal with that.  The formatting tool should 
unmount the device, reformat it, and remount it.  As long as both 
operations (mount/unmount and eject/unbind) are available through HAL 
for the application's use -- not necessarily directly exposed to the 
user -- it's fine.

	-brian


More information about the hal mailing list