[PATCH]Write Mount Commands - TNG

Michael A. Chase mchase@ix.netcom.com
Mon Sep 3 17:54:00 GMT 2001

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


2001-09-03  Michael A Chase <mchase@ix.netcom.com>

    * mount.cc (mount_commands): Don't write /cygdrive/u mount points.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.cc-patch-2
Type: text/x-diff
Size: 1350 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010903/c8df4761/attachment.bin>

More information about the Cygwin-patches mailing list