summaryrefslogtreecommitdiffstats
path: root/support/include/nfs_paths.h
diff options
context:
space:
mode:
authorAmit Gud <agud@redhat.com>2006-06-12 19:08:27 -0400
committerNeil Brown <neilb@suse.de>2006-06-16 12:19:45 +1000
commit4e2bae795e5eaf9922f0b966ab5df64994c836a2 (patch)
tree5bd9031586cbc3f6e644d9967d54acf00a7ebb4d /support/include/nfs_paths.h
parenta0520fa1a41bd33815b331b660b4545f2723495c (diff)
downloadnfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.tar.gz
nfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.tar.xz
nfs-utils-4e2bae795e5eaf9922f0b966ab5df64994c836a2.zip
Move NFS mount code from util-linux to nfs-utils - part 2
Adds the support functions needed for mount and umount. This functionality will someday be available in the form of shared mount library. Signed-off-by: Amit Gud <agud@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs_paths.h')
-rw-r--r--support/include/nfs_paths.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/support/include/nfs_paths.h b/support/include/nfs_paths.h
new file mode 100644
index 0000000..de4ac19
--- /dev/null
+++ b/support/include/nfs_paths.h
@@ -0,0 +1,11 @@
+#ifndef _NFS_PATHS_H
+#define _NFS_PATHS_H
+
+#ifndef _PATH_MOUNTED
+#define _PATH_MOUNTED "/etc/fstab"
+#endif
+#define MOUNTED_LOCK _PATH_MOUNTED "~"
+#define MOUNTED_TEMP _PATH_MOUNTED ".tmp"
+
+#endif /* _NFS_PATHS_H */
+