Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 1 Nov 2004 12:01:18 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Reini Urban cc: cygwin AT cygwin DOT com Subject: Re: getmntent extended In-Reply-To: <41850016.90204@x-ray.at> Message-ID: References: <41850016 DOT 90204 AT x-ray DOT at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Sun, 31 Oct 2004, Reini Urban wrote: > Is it possible to let getmntent() i.e. fillout_mntent() > return something more appropriate? > or would this break existing apps? > > getmntent() currently returns either "system" or "user" (user or system > mounts), which are kinda strange fstype names. > > I expected them to return something like "msdos", "pc", "fat", "vfat" or > "ntfs". Those are currently supported by current findutils on mounted dos > drives in unix systems. > Maybe also an indiciator for subst'ed drives: "subst" and remote shares, but > this has no equivalent at unix. > > Apps using this are to my knowledge only > df -t , and find -fstype > I could change that in coreutils and findutils, as findutils also adds some > logic for certain esoteric platforms, but I thought asking for it upstream > costs nothing. > [snip] Yes, it's possible: . But, ... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/