This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: can't umount my /pc filesystem
- From: Greg Chicares <gchicares at sbcglobal dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 17 Jan 2010 14:21:17 +0000
- Subject: Re: can't umount my /pc filesystem
- References: <4B52B2DC.8040101@columbus.rr.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