From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18115 invoked by alias); 27 Aug 2009 09:46:08 -0000 Received: (qmail 18065 invoked by uid 48); 27 Aug 2009 09:45:53 -0000 Date: Thu, 27 Aug 2009 09:46:00 -0000 From: "mtk dot manpages at gmail dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20090827094552.10566.mtk.manpages@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10566] New: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00076.txt.bz2 The Linux kernel defines the following unmount() flags (in include/linux/fs.h): #define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */ #define MNT_DETACH 0x00000002 /* Just detach from the tree */ #define MNT_EXPIRE 0x00000004 /* Mark for expiry */ Glibc exposes the MNT_FORCE flag in , but not the other two flags. The other two flags are nevertherless useful to userland, and should be defined in glibc. MNT_DETACH is available since Linux 2.4.11. MNT_EXPIRE is available since Linux 2.6.11. -- Summary: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE Product: glibc Version: 2.10 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: mtk dot manpages at gmail dot com CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10566 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.