delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/16/08:33:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Andre Oliveira da Costa" <costa AT cade DOT com DOT br>
To: "Prakash Dhavali" <PrakashD AT ambernetworks DOT com>,
<cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: How do I UNMOUNT '/' mount point?
Date: Tue, 16 Nov 1999 10:44:11 -0200
Message-ID: <001b01bf3030$47ec5fa0$8400000a@costa.cadenet.com.br>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <405CAE450410D311B26C0050047326DC1923A9@amberex01.ambernetworks.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4

I also had to umount / to remount it in binary mode once, to fix an odd
behavior with RCS. All I had to do was

umount /
[path-to-mount.exe]/mount -b c: /

(note that, after umounting /, you have to use the path to mount.exe so that
it can be found)

cygwin complained about '/' not existing when I tried the remount, but it
_did_ mount the drive as supposed. So, you should be able to umount / but,
as for mounting it with another name, you'll probably have to fix the PATH
environment variable so that the binaries can be found. Anyways, you'll
probably need /bin, /tmp, /usr and /etc directories (I'm not sure, though --
any words from the gurus? ;) ).

HTH,

Regards,

--
André Oliveira da Costa
(costa AT cade DOT com DOT br)


> -----Original Message-----
> From: cygwin-owner AT sourceware DOT cygnus DOT com
> [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Prakash Dhavali
> Sent: Tuesday, November 16, 1999 8:06 AM
> To: 'cygwin AT sourceware DOT cygnus DOT com'
> Subject: How do I UNMOUNT '/' mount point?
>
>
> Hi Cygwin users,
>
> I DO NOT want cygwin to mount anything on my NT workstation as /.
> Currently
> when I run mount, it shows me following mount which I just AM NOT ABLE
> TO REMOVE IT ( I want to use '/' to refer to the current driver letter
> inside
> some of my applications)
>
> C:\CYGWIN\etc>mount
> Device              Directory           Type         Flags
> C:                    /                       user          textmode
>
> C:\CYGWIN\etc>
>
> I tried using all the following options to REMOVE the above mount from C:,
> even
> then I could NOT unmount /
>
> umount --remove-all-mounts
> umount --remove-auto-mounts
> umount --remove-user-mounts
> umount --remove-system-mounts
> umount -s /
>
> PLEASE HELP. I really need to FIX this problem as soon as
> possible. I do not
> have local administrator privileges on my  NT machine.
>
> I am using CygWin1.0 on NT workstation service pack 4
>
> Thanking you in advance
> ------------------------------------------------------------------
> ----------
> ----------------------------
> Prakash Dhavali  (prakash_dhavali AT ambernetworks DOT com)
> ------------------------------------------------------------------
> ----------
> -------------------------------
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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