[PATCH] do_mount bug fix

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Aug 21 18:31:00 GMT 2006


On Mon, Aug 21, 2006 at 02:17:19PM -0400, Wang Yiping wrote:
>>cgf wrote:
>>>Please provide a simple and complete test case which illustrates the
>>>problem.
>>>
>On Mon, Aug 21, 2006 at 02:11:44PM -0400, Wang Yiping wrote:
>>OK, here is the test-case :-)
>>
>>mkdir /tmp/test123 mount -u -o managed `cygpath -m /home/whateverdd`
>>/tmp/test123/ umount /tmp/test123
>
>I recheck, umount can delete the entry, with umount -u /tmp/test123.
>But it may be better to check it before it is mounted.

Sorry but it has always been possible to mount nonexistent directories
on Cygwin and, obviously, as you've noted, you do need to use the -u
option on umount when you've mounted using -u.

cgf



More information about the Cygwin-patches mailing list