lkml.org 
[lkml]   [2005]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: the umount() saga for regular linux desktop users
Hi!
>X-Original-To: pavel@atrey.karlin.mff.cuni.cz
>From: Andy Lutomirski <luto@myrealbox.com>
>To: Andries Brouwer <aebr@win.tue.nl>
>Cc: linux-kernel@vger.kernel.org
>Subject: Re: the umount() saga for regular linux desktop users
>
>Andries Brouwer wrote:
>>On Fri, Dec 31, 2004 at 05:41:02PM +0000, William wrote:
>>
>>
>>>Regularly, when attempting to umount() a filesystem I receive
>>>'device is busy' errors. The only way (that I have found) to solve
>>>these problems is to go on a journey into processland and kill all
>>>the guilty ones that have tied themselves to the filesystem
>>>concerned.
>>
>>
>>Do you know about the existence of the MNT_DETACH flag of umount(2),
>>or the -l option of umount(8)?
>>
>>It seems that does at least some of the things you are asking for.

Well, umount -l can be handy, but it does not allow you to get your CD
back from the drive.

umount --kill that kills whoever is responsible for filesystem being
busy would solve part of the problem (that can be done in userspace,
today).

Of course, even nicer would be "filesystem goes away now, all
operations fail", but that needs kernel support.

>Sometimes I want to "unmount cleanly, damnit, and I don't care if
>applications that are currently accessing it lose data." Windows can
>do this, and it's _useful_.

Agreed. When some machine refuses to eject cd because it is
busy... That's bad. I have strong temptation to just remove AC power,
plug it back and then claim my CD...

Pavel

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.076 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site