[Bug 558926] Re: Open files on ejected media confuse the system
Martin Pitt
martin.pitt at ubuntu.com
Fri Apr 9 08:39:06 UTC 2010
Closing udisks task, since udisks can't do anything about open FDs in
other processes.
Indeed forced unmounts are done with -l (lazy unmount), there is not
much else that you can do -- you can't pull away open file descriptors
from underneath bash and other processes -- what should they do about
it? You'd need to tell them "please go drop this file or change
directory, etc", which only the application itself can do. The
alternative would be to force the application to crash, but in terms of
not losing data this isn't the best solution either.
However, what does look fishy is that a newly added USB stick wouldn't
mount and work normally -- if there's a stale mount on, say, /dev/sdb,
then the next device should just get /dev/sdc assigned.
Can you please send the output of "mount" and /var/log/kern.log after
this happened?
** Changed in: udisks (Ubuntu)
Status: New => Invalid
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Changed in: linux (Ubuntu)
Importance: Undecided => Low
--
Open files on ejected media confuse the system
https://bugs.launchpad.net/bugs/558926
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list