delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/17/09:21:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw
Message-ID: <4B531CDD.5020609@sbcglobal.net>
Date: Sun, 17 Jan 2010 14:21:17 +0000
From: Greg Chicares <gchicares AT sbcglobal DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: can't umount my /pc filesystem
References: <4B52B2DC DOT 8040101 AT columbus DOT rr DOT com>
In-Reply-To: <4B52B2DC.8040101@columbus.rr.com>
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

On 2010-01-17 06:49Z, Paul McFerrin wrote:
> 
> I have an unwanted filesystem (NFS) mounted as /pc that I need to get it 
> unmounted ASAP.  Here is the mount output:
[...]
> \\linda\c /pc some_fs binary 0 0

If that's in /etc/fstab, then it's 'nouser' by default,
and not overridable:
  http://www.cygwin.com/cygwin-ug-net/using.html#mount-table

> Whenever I try to umount it, I get the error message:
> .$ umount /pc
> umount: /pc: Operation not permitted

  http://www.cygwin.com/cygwin-ug-net/using-utils.html#umount
"Note that you can only remove user mount points."

> It HAS BEEN removed (sometimes) from the mount command but I can still 
> do a 'cd' to /pc and see my wife's root drive.  How can I make this 
> hard-ass /pc filesystem completely be umounted.

Remove it from /etc/fstab and from any file in /etc/fstab.d/* .

> The /pc never goes away and it always comes up mounted after a reboot.

Perhaps you have a 'mount' command in some script you run at startup?

Consider turning off sharing for '\\linda\c' on the remote machine.

--
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