All of lore.kernel.org
 help / color / mirror / Atom feed
* determining if a file is nfs mounted
@ 2004-06-21 18:42 Ara.T.Howard
  2004-06-21 21:03 ` James Pearson
  0 siblings, 1 reply; 3+ messages in thread
From: Ara.T.Howard @ 2004-06-21 18:42 UTC (permalink / raw)
  To: nfs


is there a reliable method of doing this?  google and the mailing list seem to
indicate that there is not...

kind regards.

-a
--
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| A flower falls, even though we love it; and a weed grows, even though we do
| not love it. --Dogen
===============================================================================


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: determining if a file is nfs mounted
  2004-06-21 18:42 determining if a file is nfs mounted Ara.T.Howard
@ 2004-06-21 21:03 ` James Pearson
  2004-06-22  1:09   ` Ara.T.Howard
  0 siblings, 1 reply; 3+ messages in thread
From: James Pearson @ 2004-06-21 21:03 UTC (permalink / raw)
  To: Ara.T.Howard; +Cc: nfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: determining if a file is nfs mounted
  2004-06-21 21:03 ` James Pearson
@ 2004-06-22  1:09   ` Ara.T.Howard
  0 siblings, 0 replies; 3+ messages in thread
From: Ara.T.Howard @ 2004-06-22  1:09 UTC (permalink / raw)
  To: James Pearson; +Cc: nfs

On Mon, 21 Jun 2004, James Pearson wrote:

> 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

i guess it does!  ;-)

the man page isn't exactly inspiring though - sounds pretty platform
specific... but it is what i'm after.

cheers.

-a
--
===============================================================================
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| A flower falls, even though we love it; and a weed grows, even though we do
| not love it. --Dogen
===============================================================================


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-22  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-21 18:42 determining if a file is nfs mounted Ara.T.Howard
2004-06-21 21:03 ` James Pearson
2004-06-22  1:09   ` Ara.T.Howard

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.