This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: New output from mount.exe
On Mon, Apr 02, 2001 at 02:26:05PM +1000, Robert Collins wrote:
>
>
>> -----Original Message-----
>> From: Christopher Faylor [mailto:cgf@redhat.com]
>> Sent: Monday, April 02, 2001 2:21 PM
>> To: cygwin-developers@cygwin.com
>> Subject: New output from mount.exe
>>
>>
>> I'm thinking of changing the output format of mount.exe to
>> more closely
>> resemble UNIX:
>>
>> \\trixie\usr on /tusr type user (binmode)
>> d:\usr\local on /usr/local type system (binmode)
>> c:\nonexist on /nonexist type user (textmode)
>> d:\cygtext on /cygtext type system (textmode)
>> f:\cygwin on / type system (binmode)
>> e:\build on /cygbuild type system (textmode)
>> e:\src on /usr/src type system (binmode)
>> c: on /win95 type system (binmode)
>> d: on /cygdrive/d type system (binmode,noumount)
>> e: on /cygdrive/e type system (binmode,noumount)
>> f: on /cygdrive/f type system (binmode,noumount)
>>
>> Any objections?
>>
>> cgf
>>
>
>Sounds good. I do have a suggestion, not an objection -
>perhaps escaping the \\ & \ ?
>Alternatively (and I'd prefer this) the win32 native path for the mount
>point //./..
The only thing I was changing was the formatting of the mount command.
I was getting rid of the columns, changing the formatting to be more
like UNIX. This was a simple change of a printf format string.
Mount has always printed backslashes. It is representing what Cygwin is
using internally. I don't see any reason to deviate from this. That
wasn't the goal of this change.
cgf