This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getmntent extended


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 <type>, and find -fstype <type>
> 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: <http://cygwin.com/ml/cygwin/2002-09/msg01035.html>.
But, <http://cygwin.com/acronyms/#SHTDI>...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]