This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Setup over a previous installation


On Wed, Mar 01, 2000 at 12:54:09PM -0600, Parker, Ron wrote:
>My other concern is that the umount-mount sequence for changing the root
>directory only works from bash and not from the Windows command line.  When
>using the windows command line to issue the (re)mount command, an automount
>occurs in cygwin1.dll.  My current line of thought is that setup.exe will do
>a LoadLibrary on cygwin1.dll followed by an unmount-mount sequence and that
>this should suppress the automount that occurs at the Windows command
>prompt.

You can use the -f flag in newer versions of mount to force a remount of a directory.

mount -b -f c:\cygwin /

You could also just use the getmntent/mount/umount functions, if this is a C program.

I don't know if this helps or not...

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]