X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 2 Apr 2010 11:01:18 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Using mount in [1.7] from a Windows command prompt
Message-ID: <20100402150118.GC7286@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4BB601AF.30909@bonhard.uklinux.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4BB601AF.30909@bonhard.uklinux.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Apr 02, 2010 at 03:39:43PM +0100, Fergus wrote:
>In [1.5] I can use mount from a Windows command prompt:
>
>C:\> d:\bin\mount c:/tmp /tmp
>C:\> d:\bin\mount
>c:\tmp on /tmp type system (binmode)
>
>In [1.7] I want to be able to do the same thing but
>C:\> m:\bin\mount c:/tmp /tmp
>achieves nothing.
>
>Is there a syntax that will achieve this for me? The -f option does not 
>make any difference. Thank you.

No, you need to modify /etc/fstab if you want a permanent mount.  Either
that or make sure that a cygwin process is always running.  That will
preserve the mount table until it exits.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

