- pass in file system type through mount(2), and return this type in statvfs structures as generated by [f]statvfs(2); - align mount flags field with NetBSD's, splitting out service flags which are not to be passed to VFS; - remove limitation of mount ABI to 16-byte labels, so that labels can be made larger in the future; - introduce new m11 message union type for mount(2) as side effect. Change-Id: I88b7710e297e00a5e4582ada5243d3d5c2801fd9
		
			
				
	
	
		
			21 lines
		
	
	
		
			601 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			601 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* <minix/mount.h>
 | 
						|
 * definitions for mount(2) 
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _MOUNT_H
 | 
						|
#define _MOUNT_H
 | 
						|
 | 
						|
/* Service flags. These are not passed to VFS. */
 | 
						|
#define MS_REUSE	0x001	/* Tell RS to try reusing binary from memory */
 | 
						|
#define MS_EXISTING	0x002	/* Tell mount to use already running server */
 | 
						|
 | 
						|
/* Legacy definitions. */
 | 
						|
#define MNTNAMELEN	16	/* Length of fs type name including nul */
 | 
						|
#define MNTFLAGLEN	64	/* Length of flags string including nul */
 | 
						|
 | 
						|
int mount(char *_spec, char *_name, int _mountflags, int srvflags, char *type,
 | 
						|
	char *args);
 | 
						|
int umount(const char *_name, int srvflags);
 | 
						|
 | 
						|
#endif /* _MOUNT_H */
 |