From: Ben Greear <greearb@candelatech.com>
To: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Quick way to check if file is on nfs?
Date: Wed, 02 Apr 2014 14:16:31 -0700 [thread overview]
Message-ID: <533C7E2F.7060201@candelatech.com> (raw)
Is there an efficient way to tell if a file we just opened is on
NFS vs local disk? We have reports of a bug where our program thinks
it has mounted nfs and starts writing to the nfs file system, but later
somehow local disk gets filled up instead. I'd like to detect when
we are no longer writing to the mount point so I can stop the test,
gather logs, etc.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next reply other threads:[~2014-04-02 21:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 21:16 Ben Greear [this message]
2014-04-02 21:48 ` Quick way to check if file is on nfs? Trond Myklebust
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=533C7E2F.7060201@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-nfs@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 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.