 c2ffe723d1
			
		
	
	
		c2ffe723d1
		
	
	
	
	
		
			
			- Prepared mount system call to accept multiple mount flags instead of just read_only (however, it remains backwards compatible). - Updated the man mount(2) to reflect new header file usage. - Updated badblocks, newroot, mount, and umount commands to use the new header file.
		
			
				
	
	
		
			22 lines
		
	
	
		
			521 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			521 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| /* <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 */
 | |
| 
 | |
| 
 | |
| /* Function Prototypes. */
 | |
| #ifndef _ANSI_H
 | |
| #include <ansi.h>
 | |
| #endif
 | |
| 
 | |
| _PROTOTYPE( int mount, (char *_spec, char *_name, int _mountflags,
 | |
|                                                 char *type, char *args) );
 | |
| _PROTOTYPE( int umount, (const char *_name)                             );
 | |
| 
 | |
| #endif /* _MOUNT_H */
 |