All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Pearson <james-p@moving-picture.com>
To: "Ara.T.Howard" <Ara.T.Howard@noaa.gov>
Cc: nfs@lists.sourceforge.net
Subject: Re: determining if a file is nfs mounted
Date: Mon, 21 Jun 2004 22:03:20 +0100	[thread overview]
Message-ID: <40D74D18.2050509@moving-picture.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0406211242120.1344@harp.ngdc.noaa.gov>

Doesn't statfs() do this? - from the man page:

	struct statfs {
	  long    f_type;     /* type of filesystem (see below) */
	  ...

  File system types:

	...
	linux/nfs_fs.h:
	  NFS_SUPER_MAGIC       0x6969
	...

James Pearson


Ara.T.Howard wrote:
> 
> is there a reliable method of doing this?  google and the mailing list 
> seem to
> indicate that there is not...



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2004-06-21 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 18:42 determining if a file is nfs mounted Ara.T.Howard
2004-06-21 21:03 ` James Pearson [this message]
2004-06-22  1:09   ` Ara.T.Howard

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=40D74D18.2050509@moving-picture.com \
    --to=james-p@moving-picture.com \
    --cc=Ara.T.Howard@noaa.gov \
    --cc=nfs@lists.sourceforge.net \
    /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.