On 3/19/07, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote: > On Mon, 19 Mar 2007, Shem Multinymous wrote: > > Userspace wants to (non-force-)-unmount by itself after (1), so it can > > stop the eject process if the filesystems cannot be cleanly > > unmounted. So the force-unmount at (3) ends up being a redundant > > safety measure at best. > > More like it is a "make sure we can actually eject, as we have been told > to". We might return an error instead, but if we do, we need a way to > force-eject (e.g. echo 2 >eject). Which stage are you referring to? Note that the only way to check if you can unmount is to actually do so. Otherwise, you're very likely to run into race conditions with someone accessing the filesystem between the check and the actual unmount. Shem ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel