delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Shankar Unni" <shankar AT cotagesoft DOT com> |
To: | "'John Morrison'" <john DOT r DOT morrison AT ntlworld DOT com>, <cygwin AT cygwin DOT com> |
Subject: | RE: mount trouble |
Date: | Wed, 4 Sep 2002 13:58:36 -0700 |
Organization: | CotageSoft, Inc. |
Message-ID: | <000101c25455$d67413c0$6a01a8c0@HQSHANKAR> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Importance: | Normal |
In-Reply-To: | <NCEBJJFMCAOKNNABBFIMOEGACHAA.john.r.morrison@ntlworld.com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g85Lwep09656 |
> > That last option would wipe out all mounts for directories under the > > Cygwin installation directory, and create a clean set of mounts as the > > installer would have done. > AFAIK there's no ability within Cygwin to _write_ to the registry > (read was added a little while ago), so it would need to be another > application. What? What does the mount(2) API do, then? All that mount has to do is to maintain a "standard list of mounts". The problem is that in the cygwin platform, there's no separate fstab-like configuration file that is essentially untouched while the user plays with the mounts. On Linux, I can play with my mounts, and when I'm done, either fix the fstab to make it permanent, or just reboot to get things back to the way they were. Can't do that on cygwin, where the only "mount table" is persistent (in the registry). Though a little foresight on the part of the user does go a long way in ameliorating this - just run "mount -m > fstab.sh" before starting the play session, and a "umount -A ; sh fstab.sh" afterwards to restore things to their original state. -- Shankar. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |