[PATCH] do_mount bug fix

Wang Yiping ypwangandy@gmail.com
Mon Aug 21 18:11:00 GMT 2006


On 8/21/06, Christopher Faylor <cgf-no-personal-reply-please@cygwin.com> wrote:
> On Mon, Aug 21, 2006 at 01:52:06PM -0400, Wang Yiping wrote:
> >When doing managed mount with none exist win32path It can't umount again.
> >We have to delete the entry from the windows registry by hand.
> >
> >$ df
> >Filesystem           1K-blocks      Used Available Use% Mounted on
> >D:\dev\cygwin\home\ypeang\tmp
> >                     36862556  32039836   4822720  87% /home/ypwang/tmp
> >$ umount /home/ypwang/tmp
> >umount: /home/ypwang/tmp: No such file or directory
> >
> >
> >2006-08-21  Yiping Wang  <ypwangandy@gmail.com>
> >
> >       * mount.cc (do_mount): Exit with error msg when using managed mount
> >       option on none exist win32path.
>
> Sorry but I can't duplicate this problem so I'm reluctant to check in
> this patch.
>
> Please provide a simple and complete test case which illustrates the problem.
>
> cgf
>
 OK, here is the test-case :-)

 mkdir /tmp/test123
 mount -u -o managed `cygpath -m /home/whateverdd` /tmp/test123/
 umount /tmp/test123

andy



More information about the Cygwin-patches mailing list