This is the mail archive of the cygwin-patches 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]
Other format: [Raw text]

Re: [PATCH] do_mount bug fix


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


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