X-Spam-Check-By: sourceware.org Message-ID: <45E571EB.243D658B@dessent.net> Date: Wed, 28 Feb 2007 04:13:31 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Regarding Problems with the mount command inside a script References: Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1SCFE2G023540 Rakesh Kumar wrote: > I'm running a command inside Cygwin > > mount -b /cygdrive/c/cygwin/rakesh /cygdrive/c/cygwin/rakesh/usr/cygnus > > But I get the following error… > > mount: /cygdrive/c/cygwin/rakesh/usr/cygnus: Invalid argument > > Is the mount command wrongly given?? Yes. Take a look at "mount --help". The first argument is a win32 path -- that is the whole point of mount table entries, to map a win32 path to a POSIX path. And you should not be using /cygdrive like that. Assuming that c:/cygwin is mounted as /, then you probably want something like mount c:/cygwin/rakesh /usr/cygnus Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/