Re: Unable to delete directory in Cygwin

2006-06-20 Thread Lev Bishop
On 6/19/06, mwoehlke wrote: Larry Hall (Cygwin) wrote: > mwoehlke wrote: >> Eric Blake wrote: >>> That said, cygwin does try to emulate linux, and if someone were to >>> contribute a patch that would allow cygwin to emulate directory deletion >>> if it knows that all open handles have also been

Re: Unable to delete directory in Cygwin

2006-06-19 Thread mwoehlke
Larry Hall (Cygwin) wrote: mwoehlke wrote: Eric Blake wrote: That said, cygwin does try to emulate linux, and if someone were to contribute a patch that would allow cygwin to emulate directory deletion if it knows that all open handles have also been scheduled for unlinking at process end, then

Re: Unable to delete directory in Cygwin

2006-06-19 Thread Larry Hall (Cygwin)
mwoehlke wrote: Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gina Verlekar on 6/15/2006 3:53 AM: Hi, I have implemented some changes in the linker code for some intermediate processing. For that I need to create a temporary directory, generate some intermediate

Re: Unable to delete directory in Cygwin

2006-06-19 Thread mwoehlke
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gina Verlekar on 6/15/2006 3:53 AM: Hi, I have implemented some changes in the linker code for some intermediate processing. For that I need to create a temporary directory, generate some intermediate in it, process

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Christopher Faylor
On Fri, Jun 16, 2006 at 05:21:36PM +0100, Dave Korn wrote: >On 16 June 2006 15:22, Brett Serkez wrote: >>I simply clarified to the original poster what was happening under the >>hood on the UNIX/Linux side so they could understand, essentially >>defending why it isn't supported under Cygwin. > >I t

RE: Unable to delete directory in Cygwin

2006-06-16 Thread Dave Korn
On 16 June 2006 15:22, Brett Serkez wrote: > I simply clarified to the original poster what was happening under the > hood on the UNIX/Linux side so they could understand, essentially > defending why it isn't supported under Cygwin. I think that you may have added confusion rather than clarity

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Christopher Faylor
On Fri, Jun 16, 2006 at 10:22:27AM -0400, Brett Serkez wrote: >I only want to know what you were refering to in Windows that was like >inodes so I could learn. Cygwin's inode handling is in the source file fhandler_disk_file.cc. If you look for the word "inode" you should be able to see how it is

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
I' really am not interested in arguing with you. Then why are you! I simply clarified to the original poster what was happening under the hood on the UNIX/Linux side so they could understand, essentially defending why it isn't supported under Cygwin. I've noticed this before, you tend to tak

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Christopher Faylor
On Fri, Jun 16, 2006 at 08:59:12AM -0400, Brett Serkez wrote: >NTFS and FAT file systems simply do not have the concept of inodes, >Cygwin is dependent upon the facilities supplied by these file systems. Actually NTFS does have something like an inode. That's what Cygwin uses.

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
> So this brings me back to my original question, what is it in NTFS > that provides Inode type functionality that Cygwin is leveraging? This might sound far-fetched, but can you imagine that this is just the way Microsoft implemented the file system? It doesn't allow to remove a directory if *a

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Corinna Vinschen
On Jun 16 08:59, Brett Serkez wrote: > So this brings me back to my original question, what is it in NTFS > that provides Inode type functionality that Cygwin is leveraging? This might sound far-fetched, but can you imagine that this is just the way Microsoft implemented the file system? It doesn

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
>>>NTFS and FAT file systems simply do not have the concept of inodes, >>>Cygwin is dependent upon the facilities supplied by these file systems. >> >>Actually NTFS does have something like an inode. That's what Cygwin >>uses. > >Then why does this fail? Please enlighten us? http://cygwin.com/m

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Christopher Faylor
On Fri, Jun 16, 2006 at 08:28:22AM -0400, Brett Serkez wrote: >On Fri, Jun 16, 2006 at 08:24:12AM -0400, Christopher Faylor wrote: >>>NTFS and FAT file systems simply do not have the concept of inodes, >>>Cygwin is dependent upon the facilities supplied by these file systems. >> >>Actually NTFS doe

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
>NTFS and FAT file systems simply do not have the concept of inodes, >Cygwin is dependent upon the facilities supplied by these file systems. Actually NTFS does have something like an inode. That's what Cygwin uses. Then why does this fail? Please enlighten us? Brett -- Unsubscribe info:

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Christopher Faylor
On Fri, Jun 16, 2006 at 07:35:27AM -0400, Brett Serkez wrote: >NTFS and FAT file systems simply do not have the concept of inodes, >Cygwin is dependent upon the facilities supplied by these file systems. Actually NTFS does have something like an inode. That's what Cygwin uses. cgf -- Unsubscrib

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
mkdir test && cd test && rmdir ../test does work in Linux but not under Windows and therefor not under Cygwin. This works under Linux/UNIX as the rmdir removes the directory entry, disassociating it from the inode, the files still exist as the OS is using the inode as the handle. When this di

Re: Unable to delete directory in Cygwin

2006-06-15 Thread Thorsten Kampe
* Gina Verlekar (2006-06-15 10:53 +) > I have implemented some changes in the linker code for some intermediate > processing. > For that I need to create a temporary directory, generate some > intermediate > files in it, process those files by calling a function. After processing > of the

Re: Unable to delete directory in Cygwin

2006-06-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gina Verlekar on 6/15/2006 3:53 AM: > Hi, > > I have implemented some changes in the linker code for some intermediate > > processing. > For that I need to create a temporary directory, generate some > intermediate > files in it, proce

Unable to delete directory in Cygwin

2006-06-15 Thread Gina Verlekar
Hi, I have implemented some changes in the linker code for some intermediate processing. For that I need to create a temporary directory, generate some intermediate files in it, process those files by calling a function. After processing of the intermediate files, I delete the intermediate f