This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
[PATCH]Write Mount Commands - TNG
- To: <cygwin-patches at cygwin dot com>
- Subject: [PATCH]Write Mount Commands - TNG
- From: "Michael A. Chase" <mchase at ix dot netcom dot com>
- Date: Mon, 3 Sep 2001 17:36:45 -0700
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-patches@cygwin.com>
Sent: Monday, September 03, 2001 15:03
Subject: Re: [PATCH]Write Mount Commands
> I don't think you should be displaying mount commands for the default
drive
> stuff, i.e. mount -f -u -t "u:" "/cygdrive/u"
This corrects the problem that caused mount to list /cygdrive/u mounts
points along with the explicit ones.
> Also, I wonder if it would be nicer only to quote the path specs which
contain
> spaces?
I quoting everything is safer. The only characters that doesn't protect are
(", $, and %) and anyone who uses those in a mount point path deserves the
grief they get.
--
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
Changelog:
2001-09-03 Michael A Chase <mchase@ix.netcom.com>
* mount.cc (mount_commands): Don't write /cygdrive/u mount points.
mount.cc-patch-2