Date: Sun, 14 Apr 1996 18:53:21 +0200 (IST) From: Eli Zaretskii To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Subject: Re: Numbers of links for directories In-Reply-To: <199604141348.JAA13379@delorie.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 14 Apr 1996, DJ Delorie wrote: > To be really clean, we should fake out the "." and ".." directories > for "/" under opendir(). That means that `stat' should also return the number of links for the root as if there were "." and ".." there. But I'm a bit worried about this: won't it mean that we will have to pretend these two are there throughout most of the library? For instance, stat ("/..") should return valid info instead of failing, right? What about chmod ("/..")? What about non-POSIX functions (like `findfirst')? Etc., etc. Seems like libc rewrite ;-). > I think the lack of these two causes corrupt > images with mkisofs, which only works when making images of > subdirectories. What are these `mkisofs'?