delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/09/20/14:49:35

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 20 Sep 2002 14:49:31 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin-developers AT cygwin DOT com
To: cygwin-developers AT cygwin DOT com
Subject: Question re: mntent::mnt_type in fillout_mntent (path.cc)
Message-ID: <Pine.GSO.4.44.0209201436150.15469-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Hi, all!

After a recent discussion of df on the cygwin mailing list (
http://www.cygwin.com/ml/cygwin/2002-09/msg00945.html ), I've browsed
the source of getmntent, which eventually led me to fillout_mntent in
path.cc.

Is there some reason "user" or "system" is returned as the filesystem
type?  Shouldn't this be part of mnt_opts, with the mnt_type reflecting
rather the actual filesystem type, as returned by GetVolumeInformation
(perhaps POSIXified)?

I'm contemplating making that change, so users can see the actual
filesystem types (e.g., "cdrom", "ntfs", "net", etc) in df, mount and
other programs...  Does this sound like a terrible idea?  If it is
changed, can this introduce subtle bugs somewhere else?

I thought I should run it by this list first, before I invest too much
time.  Comments?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51

- Raw text -


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