mount points

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Dec 4 17:57:00 GMT 2003


On Thu, Dec 04, 2003 at 04:42:15PM +0100, Corinna Vinschen wrote:
>On Thu, Dec 04, 2003 at 10:21:28AM -0500, Sam Steingold wrote:
>> > * Corinna Vinschen <pbevaan-pltjva@pltjva.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).

SHTDI

I like it.

cgf

--
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/



More information about the Cygwin mailing list