2009-08-12 21:57:37 +02:00
|
|
|
/* <sys/mount.h>
|
|
|
|
* definitions for mount(2)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MOUNT_H
|
|
|
|
#define _MOUNT_H
|
|
|
|
|
|
|
|
#define MS_RDONLY 0x001 /* Mount device read only */
|
|
|
|
#define MS_REUSE 0x002 /* Tell RS to try reusing binary from memory */
|
2010-01-13 00:08:50 +01:00
|
|
|
#define MS_LABEL16 0x004 /* Mount message points to 16-byte label */
|
2010-11-23 20:34:56 +01:00
|
|
|
#define MS_EXISTING 0x008 /* Tell mount to use already running server */
|
2012-11-22 23:00:00 +01:00
|
|
|
#define MNTNAMELEN 16 /* Length of fs type name including nul */
|
|
|
|
#define MNTFLAGLEN 64 /* Length of flags string including nul */
|
2009-08-12 21:57:37 +02:00
|
|
|
|
2012-03-24 16:16:34 +01:00
|
|
|
int mount(char *_spec, char *_name, int _mountflags, char *type, char
|
|
|
|
*args);
|
|
|
|
int umount(const char *_name);
|
|
|
|
int umount2(const char *_name, int flags);
|
2009-08-12 21:57:37 +02:00
|
|
|
|
|
|
|
#endif /* _MOUNT_H */
|