delorie.com/archives/browse.cgi | search |
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 |
X-Spam-Filter: | check_local AT alphatech DOT com 4.4(020923:1754) http://digitalanswers.org/ |
To: | cygwin AT cygwin DOT com |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: mount points |
Reply-To: | sds AT gnu DOT org |
X-Attribution: | Sam |
X-Disclaimer: | You should not expect anyone to agree with me. |
From: | Sam Steingold <sds AT gnu DOT org> |
Organization: | disorganization |
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> | |
Date: | Thu, 04 Dec 2003 10:21:28 -0500 |
Message-ID: | <uy8tsobgn.fsf_-_@gnu.org> |
User-Agent: | Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) |
Cancel-Lock: | sha1:O2yagK8yFfJKS60UcZx0swiDQ+k= |
In-Reply-To: | <20031204143754.GV1640@cygbert.vinschen.de> (Corinna Vinschen's |
message of "Thu, 4 Dec 2003 15:37:54 +0100") | |
MIME-Version: | 1.0 |
Posted-To: | gmane.os.cygwin |
The following message is a courtesy copy of an article that has been posted to gmane.os.cygwin as well. > * 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). -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Booze is the answer. I can't remember the question. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |