This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]Write Mount Commands - TNG


----- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]