This is the mail archive of the
mailing list for the Cygwin project.
RE: mount trouble
- 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>
- Date: Wed, 4 Sep 2002 13:58:36 -0700
- Subject: RE: mount trouble
- Organization: CotageSoft, Inc.
> > That last option would wipe out all mounts for directories under the
> > Cygwin installation directory, and create a clean set of mounts as
> > 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
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html