diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-20 19:16:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-20 19:16:48 +0000 |
commit | 7934cc16733720b3eb61ca83e22c62a8ffd9c644 (patch) | |
tree | 00c4a04ee24035ceda6daf51a522e707feb5f6df /sysdeps/unix/sysv/linux/sys | |
parent | df777c40c1d8bc15dcc71a7da183f2a2c99bda62 (diff) | |
download | glibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.tar.gz glibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.tar.xz glibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.zip |
Update.
1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines): Add umount and umount2. * sysdeps/unix/sysv/linux/syscalls.list: Remove umount. * sysdeps/unix/sysv/linux/umount.S: New file. * sysdeps/unix/sysv/linux/umount2.S: New file. * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2. Define MNT_FORCE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/mount.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index 589ecbc1c5..4b7154928c 100644 --- a/sysdeps/unix/sysv/linux/sys/mount.h +++ b/sysdeps/unix/sysv/linux/sys/mount.h @@ -82,6 +82,10 @@ enum #define BLKRAGET _IO(0x12, 99) /* Get current read ahead setting. */ +/* Possible value for FLAGS parameter of `umount2'. */ +#define MNT_FORCE /* Force unmounting. */ + + __BEGIN_DECLS /* Mount a filesystem. */ @@ -92,6 +96,9 @@ extern int mount __P ((__const char *__special_file, __const char *__dir, /* Unmount a filesystem. */ extern int umount __P ((__const char *__special_file)); +/* Unmount a filesystem. Forst unmounting if FALGS is set to MNT_FORCE. */ +extern int umount2 __P ((__const char *__special_file, int __flags)); + __END_DECLS #endif /* _SYS_MOUNT_H */ |