- Moved (u)mount prototypes from unistd.h to sys/mount.h.
- 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.
This commit is contained in:
@@ -171,13 +171,10 @@ _PROTOTYPE( int mknod, (const char *_name, _mnx_Mode_t _mode, Dev_t _addr) );
|
||||
_PROTOTYPE( int mknod4, (const char *_name, _mnx_Mode_t _mode, Dev_t _addr,
|
||||
long _size) );
|
||||
_PROTOTYPE( char *mktemp, (char *_template) );
|
||||
_PROTOTYPE( int mount, (char *_spec, char *_name, int _flag,
|
||||
char *type, char *args) );
|
||||
_PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );
|
||||
_PROTOTYPE( char *sbrk, (int _incr) );
|
||||
_PROTOTYPE( int sync, (void) );
|
||||
_PROTOTYPE( int fsync, (int fd) );
|
||||
_PROTOTYPE( int umount, (const char *_name) );
|
||||
_PROTOTYPE( int reboot, (int _how, ...) );
|
||||
_PROTOTYPE( int gethostname, (char *_hostname, size_t _len) );
|
||||
_PROTOTYPE( int getdomainname, (char *_domain, size_t _len) );
|
||||
|
||||
Reference in New Issue
Block a user