From: "Chris Friesen" <cfriesen@nortel.com>
To: Daniel Lezcano <daniel.lezcano@free.fr>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: mount notification question
Date: Wed, 04 Aug 2010 12:41:08 -0600 [thread overview]
Message-ID: <4C59B444.7080609@nortel.com> (raw)
In-Reply-To: <4C5734A2.7070400@free.fr>
On 08/02/2010 03:12 PM, Daniel Lezcano wrote:
>
> Hi all,
>
> is there a way to be notified when a mount occurs on the system ?
Have you looked on google? The link is a bit misleading but they do
give a way to do it (not using inotify).
http://stackoverflow.com/questions/1113176/how-could-i-detect-when-a-directory-is-mounted-with-inotify
Chris
--
The author works for GENBAND Corporation (GENBAND) who is solely
responsible for this email and its contents. All enquiries regarding
this email should be addressed to GENBAND. Nortel has provided the use
of the nortel.com domain to GENBAND in connection with this email solely
for the purpose of connectivity and Nortel Networks Inc. has no
liability for the email or its contents. GENBAND's web site is
http://www.genband.com
next prev parent reply other threads:[~2010-08-04 19:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 21:12 mount notification question Daniel Lezcano
2010-08-04 18:41 ` Chris Friesen [this message]
2010-08-06 1:07 ` Daniel Lezcano
2010-08-06 7:44 ` Kay Sievers
2010-08-06 8:05 ` Daniel Lezcano
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=4C59B444.7080609@nortel.com \
--to=cfriesen@nortel.com \
--cc=daniel.lezcano@free.fr \
--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