delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/04/10:42:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 4 Dec 2003 16:42:15 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mount points
Message-ID: <20031204154215.GY1640@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <uoeuprfyq DOT fsf AT gnu DOT org> <20031204094137 DOT GT1640 AT cygbert DOT vinschen DOT de> <ud6b4psjh DOT fsf AT gnu DOT org> <20031204143754 DOT GV1640 AT cygbert DOT vinschen DOT de> <uy8tsobgn DOT fsf_-_ AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <uy8tsobgn.fsf_-_@gnu.org>
User-Agent: Mutt/1.4.1i

On Thu, Dec 04, 2003 at 10:21:28AM -0500, Sam Steingold wrote:
> > * Corinna Vinschen <pbevaan-pltjva AT pltjva DOT pbz> [2003-12-04 15:37:54 +0100]:
> >
> > On Thu, Dec 04, 2003 at 09:27:14AM -0500, Sam Steingold wrote:
> >> PS.  Is there a POSIX way to get the list of mount points, lime mount(1)
> >>      and df(1) do?  It appears that linux has /proc/mounts and most
> >>      unixes have /etc/mtab, but is there a system call?
> >
> > man 3 getmntent
> 
> cool - thanks!
> unfortunately, this is not in POSIX
> (http://www.opengroup.org/onlinepubs/)
> so this is not portable (and this just parses the mtab file,
> not asks the kernel for mount points).

As has been mentioned already, nobody is against inclusion of statvfs
functionality in Cygwin, it's just that "somebody has to do it"(tm).

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019