Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/nfsmount/nfsmount.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 770 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 #ifndef NFSMOUNT_NFSMOUNT_H
2 #define NFSMOUNT_NFSMOUNT_H
3
4 #include <linux/nfs_mount.h>
5
6 extern int nfs_port;
7
8 extern int nfsmount_main(int argc, char *argv[]);
9 int nfs_mount(const char *rem_name, const char *hostname,
10 uint32_t server, const char *rem_path,
11 const char *path, struct nfs_mount_data *data);
12
13 enum nfs_proto {
14 v2 = 2,
15 v3,
16 };
17
18 /* masked with NFS_MOUNT_FLAGMASK before mount() call */
19 #define NFS_MOUNT_KLIBC_RONLY 0x00010000U
20 /*
21 * Note for gcc 3.2.2:
22 *
23 * If you're turning on debugging, make sure you get rid of -Os from
24 * the gcc command line, or else ipconfig will fail to link.
25 */
26 #undef NFS_DEBUG
27
28 #undef DEBUG
29 #ifdef NFS_DEBUG
30 #define DEBUG(x) printf x
31 #else
32 #define DEBUG(x) do { } while(0)
33 #endif
34
35 #endif /* NFSMOUNT_NFSMOUNT_H */