On Wed, 23 May 2012, Pantelis Antoniou wrote: > > Of course, you always have the option of not specifying the > > "removable=y" module parameter when loading the gadget originally. > > Without that parameter, the backing file won't get closed when the > > eject command is received. > > > > Unfortunately this has been tried, and what it does is canceling the > unmount. So the disk remains perpetually mounted. I don't believe that. Are you sure you haven't mixed up unmounting and ejecting? For example, what happens when you plug in a regular USB flash memory stick to an OS-X system? Many of them them are not removable. (More accurately, none of them are removable and many of them -- but not all! -- correctly tell the host that they aren't.) Is it then impossible to unmount such a flash drive? > It is what it is then. It is very bad from a user perspective. > > Any chance to have a module parameter that selects this behavior, with > it being defaulted to no? Not until I'm completely convinced it is necessary. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html