How do I UNMOUNT '/' mount point?
Tue Nov 16 14:45:00 GMT 1999
I do not want any kind of mounts on my NT workstation. I do not want
C:/ mapped to '/', no matter which drive you are on. I want / to point
to the current drive letter by default. I know that it's hard to imagine
such a requirement in a typical UNIX environment, but STILL we are on
on NT and NOT a UNIX box, so I was expecting NT behaviour not to be
_entitrely_ overridden by other UNIX emulation softwares.
From: Earnie Boyd [ mailto:email@example.com ]
Sent: Tuesday, November 16, 1999 2:18 PM
To: Prakash Dhavali; 'firstname.lastname@example.org'
Subject: RE: How do I UNMOUNT '/' mount point?
What exactly are you trying to do? Is it something like you have a C:\root
directory that you want the / to point to? That is possible. Just do:
cd <dir/to/bin> && ./umount / && ./mount 'c:\root' /
If you want something different then you have the source to change it to
--- Prakash Dhavali <PrakashD@ambernetworks.com> wrote:
> Thanks for your responses, but here are my comments on the CygWin
> I think users SHOULD be able to install the cygwin as a TOOLKIT and NOT
> as a UNIX OS wrapper around win32. I think that some of the users like me
> may want CygWin Toolkit with standalone unix utilities and applications.
> I know CygWin is sold as a UNIX/LINUX environment to customers, but I
> would have appreciated if there was a CygWin Toolkit(maybe similar to
> MKS toolkit) as well.
> Hard mounting C:/ to / is a deviation from default NT behaviour. I think
> ALL the cygwin tools and utilities must have recognised some environment
> variables(e.g CYGWIN_ROOT_DIR) to mean $CYGWIN_ROOT_DIR as the root and
> not C:/. In my case this deviation breaks my application(s). You may ask
> why I bought CygWin in the first place., I just wanted the Unix Utilities
> in my NT environment.
> What do other users on this list feel about the above topic?
> Thanks again
> Prakash Dhavali
> -----Original Message-----
> From: Chris Faylor [ mailto:email@example.com ]
> Sent: Tuesday, November 16, 1999 6:51 AM
> To: Prakash Dhavali
> Cc: 'firstname.lastname@example.org'
> Subject: Re: How do I UNMOUNT '/' mount point?
> On Tue, Nov 16, 1999 at 02:05:33AM -0800, Prakash Dhavali wrote:
> >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)
> A couple of people have replied to this, showing how you can umount /,
> but I wanted to point out that what you want to do isn't possible.
> There is no way to permanently umount / as cygwin always creates a
> root partition if one is not found in the mount table.
> There is also no way to have cygwin default to the current drive when
> referencing /. It will always default to a specific directory on
> a specific drive, just like UNIX.
> Want to unsubscribe from this list?
> Send a message to email@example.com
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org
More information about the Cygwin