delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/02/10:01:40

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019