4 #include "nfs_mntent.h"
7 #define _PATH_FSTAB "/etc/fstab"
10 int mtab_is_writable(void);
11 int mtab_does_not_exist(void);
14 struct mntentchn *nxt, *prev;
18 struct mntentchn *getmntoptfile (const char *file);
19 struct mntentchn *getmntdirbackward (const char *dir, struct mntentchn *mc);
20 struct mntentchn *getmntdevbackward (const char *dev, struct mntentchn *mc);
22 struct mntentchn *getfsfile (const char *file);
23 struct mntentchn *getfsspec (const char *spec);
25 void lock_mtab (void);
26 void unlock_mtab (void);
27 void update_mtab (const char *special, struct mntent *with);
29 #endif /* _NFS_FSTAB_H */