From: Al Viro <viro@ftp.linux.org.uk>
To: Eduard-Gabriel Munteanu <maxdamage@aladin.ro>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Forced unmounting for removable devices
Date: Fri, 31 Aug 2007 16:38:15 +0100 [thread overview]
Message-ID: <20070831153815.GM21089@ftp.linux.org.uk> (raw)
In-Reply-To: <46D83528.8090204@aladin.ro>
On Fri, Aug 31, 2007 at 06:35:04PM +0300, Eduard-Gabriel Munteanu wrote:
> *This message was transferred with a trial version of CommuniGate(r) Pro*
> Salah Coronya wrote:
> >There are patches in -mm for revokeat()/frevoke(), which can be used to
> >implement exactly that. If a device "vanishes" (CD is removed in the
> >middle of loading, USB pend rive yanked out the middle of I/O, NFS
> >server thats gone MIA), A user-space program (maybe HAL) could iterate
> >over the open files and revoke() them, at which point the system can be
> >cleanly unmounted.
Bull. It will not help you at all if a syscall is stuck.
> Sounds promising. Is there any glibc version that implements these
> syscalls (googling for 'glibc' and 'frevoke' didn't help)? I'd like to
> implement and test this on my Linux box with HAL.
Implementation that is there in -mm is broken; see discussion on the list.
next prev parent reply other threads:[~2007-08-31 15:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 1:51 Forced unmounting for removable devices Eduard-Gabriel Munteanu
2007-08-30 3:14 ` Salah Coronya
2007-08-31 15:35 ` Eduard-Gabriel Munteanu
2007-08-31 15:38 ` Al Viro [this message]
2007-08-31 15:38 ` Eduard-Gabriel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070831153815.GM21089@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=maxdamage@aladin.ro \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.