delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/28/22:08:57

X-Spam-Check-By: sourceware.org
Message-ID: <BAY125-F24995698EAC7044D4A8479B5080@phx.gbl>
X-Sender: karlm30 AT hotmail DOT com
From: "Karl M" <karlm30 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: mount with the latest cygwin snapshot
Date: Thu, 28 Jun 2007 19:08:27 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

------=_NextPart_000_2b4a_1577_3147
Content-Type: text/plain; format=flowed

Hi All...

I just tried out the latest snapshot and got a warning error from mount.

$ c:/cygwin/bin/mount -f -s -b C:/Cygwin /
cygwin warning:
  MS-DOS style path detected: C:\Cygwin
  Preferred POSIX equivalent is: /
  CYGWIN environment variable option "nodosfilewarning" turns off this 
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

I get this this when I run the attached script to normalize my mounts 
because setup still mucks them up. I run scripts that set up the file 
permissions and mount points after each running of setup.

Thanks,

...Karl

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN 
http://liveearth.msn.com?source=msntaglineliveearthhm

------=_NextPart_000_2b4a_1577_3147
Content-Type: text/plain; name="cygwin-mount-points"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="cygwin-mount-points"

#!/bin/bash

echo Removing all Cygwin mount points
C:/Cygwin/bin/umount -A
C:/Cygwin/bin/umount -c -s
C:/Cygwin/bin/umount -c -u

echo Setting Cygwin system mount points
C:/Cygwin/bin/mount -c -s -t /
C:/Cygwin/bin/mount -f -s -b C:/Cygwin /
C:/Cygwin/bin/mount -f -s -b C:/Cygwin/bin /usr/bin
C:/Cygwin/bin/mount -f -s -b C:/Cygwin/lib /usr/lib



------=_NextPart_000_2b4a_1577_3147
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_2b4a_1577_3147--

- Raw text -


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