This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[gilbertd@treblig.org] linux/nfs_fs.h


Would it be reasonable to define NFS_SUPER_MAGIC (and EXT2_SUPER_MAGIC and so 
on) in <bits/statfs.h> for Linux?

p.

------- Forwarded Message

Date: Sat, 3 Apr 1999 01:44:22 +0100 (GMT)
From: Dave Gilbert <gilbertd@treblig.org>
X-Sender: gilbertd@tardis
To: Philip Blundell <philb@gnu.org>
Subject: linux/nfs_fs.h
In-Reply-To: <E10TB6d-0000pt-00@kings-cross.london.uk.eu.org>
Message-ID: <Pine.LNX.3.96.990403014115.476E-100000@tardis>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi Phil,
  I've got a program here called'mpich' which is some message passing
thing for spreading machines round a network; in its config its bitching
about not being able to compile a program which includes linux/nfs_fs.h -
its right!

  The thing it seems to want it for is that its using statfs and checking
the filing system type to see if its on an NFS filesystem, and checking
against the constant NFS_SUPER_MAGIC which does appear to be defined in
linux/nfs_fs.h

  Suggestions?

Dave

 --------------------------------------------------------------------   
/ Dr. David Alan Gilbert      | Running Linux on           |  Happy  \ 
\   gro.gilbert @ treblig.org |     Alpha, ARM and SPARC   |  In Hex /
 \____________________________|___ http://www.treblig.demon.co.uk __/


------- End of Forwarded Message





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]