From: Eduard-Gabriel Munteanu <maxdamage@aladin.ro>
To: linux-kernel@vger.kernel.org
Subject: Re: Forced unmounting for removable devices
Date: Fri, 31 Aug 2007 18:35:04 +0300 [thread overview]
Message-ID: <46D83528.8090204@aladin.ro> (raw)
In-Reply-To: <46D622A5.2000205@aladin.ro>
*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.
>
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.
next prev parent reply other threads:[~2007-08-31 15:35 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 [this message]
2007-08-31 15:38 ` Al Viro
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=46D83528.8090204@aladin.ro \
--to=maxdamage@aladin.ro \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox