Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 27 May 2002 14:35:14 +0100
Message-Id: <7559-Mon27May2002143514+0100-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Robert Mark Bram" <relaxedrob@optushome.com.au>
Cc: "Cygwin" <cygwin@cygwin.com>
Subject: Mount A Drive
In-Reply-To: <AHENJAAPGAHKCFPLDPOJCEFBCGAA.relaxedrob@optushome.com.au>
References: <AHENJAAPGAHKCFPLDPOJCEFBCGAA.relaxedrob@optushome.com.au>

On Monday 27 May 02, Robert Mark Bram writes:
> Howdy all!
> 
> I am running Cygwin on Win 2K. I am trying to mount my A drive and I have a
> few questions.
> 
> First, what is wrong with this command:
>   mount A:\ /a
> I received the usage message in response:
>   mount: not enough arguments
>   Usage: mount [OPTION] [<win32path> <posixpath>]

The backslash '\' is an escape character to the shell.  It prevents
the shell from interpreting the space as a word separator.  So mount
thinks it has one argument rather than two.

It's been a long time since I used mount, but

	mount A:\\ /a

should do what you expected, and possibly

	mount A: /a
and
	mount A:/ /a

will also work.

Hope this helps.

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

