delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <393EDD1F.CEEFDE25@veritas.com> |
Date: | Wed, 07 Jun 2000 16:39:11 -0700 |
From: | Bob McGowan <rmcgowan AT veritas DOT com> |
Organization: | VERITAS Software |
X-Mailer: | Mozilla 4.73 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Cygwin <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: mount's --change-cygdrive-prefix option (was Re: text / binary |
mounts (sorry)) |
I intended this for the list but apparently hit the reply button rather than reply-all... -------- Original Message -------- Subject: Re: mount's --change-cygdrive-prefix option (was Re: text / binary mounts (sorry)) Date: Wed, 07 Jun 2000 10:04:37 -0700 From: Bob McGowan <rmcgowan AT veritas DOT com> Organization: VERITAS Software To: Jason Tishler <Jason DOT Tishler AT dothill DOT com> References: <20000606210102 DOT 24531 DOT qmail AT web124 DOT yahoomail DOT com> <20000606171751 DOT A30312 AT cygnus DOT com> <393E5E03 DOT C89FE8E0 AT dothill DOT com> Jason Tishler wrote: > > I few spec level issues before I continue... > > There is currently no way to remove the user or system path prefix > (except via the registry). Hence, once the user path prefix is set, > the system path prefix can never have any effect (unless one hacks the > registry). How should this missing functionality be realized? > > 1. Add a "--remove-cygdrive-prefix" to mount. > 2. Add a "--remove-cygdrive-prefix" to umount. I think umount is the best place to do this. It should default to processing user entries and only do system entries if the -s option is used (to match current functionality). > 3. Enhance mount's "--change-cygdrive-prefix" to accept a missing > posixpath that indicates the appropriate path prefix should be > removed. > > Additionally, there is currently no way to display the current value > for the user and system path prefixes (except via the registry). > Should this functionality be added to the mount display? I think this is important if you are going to provide a "umount" feature as above. It is useful to display the current state before trying to modify it. Maybe the mount command should have a specific option to do so, perhaps "--show-cygdrive-prefix"? But including the cygdrive-prefix info as part of the default output works too. Either way, the information is useful. -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |