From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,96296bb60aa5db9 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!amsnews11.chello.com!newsfeed01.chello.at!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada.Directories Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1o4hp0vtlenw0.jql7yewhhr4a.dlg@40tude.net> <1192912525.922514.185180@q3g2000prf.googlegroups.com> <1193051315.233759.154400@v29g2000prd.googlegroups.com> <28cjl7did6nn.2ikjpx3qf1mw$.dlg@40tude.net> <1589560.JmWJu6PyXJ@linux1.krischik.com> Date: Fri, 16 Nov 2007 20:00:07 +0100 Message-ID: NNTP-Posting-Date: 16 Nov 2007 20:00:07 CET NNTP-Posting-Host: 6228a53a.newsspool2.arcor-online.net X-Trace: DXC= On Fri, 16 Nov 2007 17:48:55 +0100, Martin Krischik wrote: > Dmitry A. Kazakov wrote: > >> On Thu, 15 Nov 2007 12:44:53 +0100, Markus E L wrote: >> >>> Harald Korneliussen wrote: >>> >>>> On Oct 21, 9:40 am, "Dmitry A. Kazakov" >>>> wrote: >>>>> "." is not a hard/soft link, as it cannot be removed. >>>> >>>> When did removability become part of the definition of "hard link"? >>> >>> Never it did. This is just what happens to definitions that come into >>> contact with Dmitry. I've purposely waited seom time (well, even three >>> weeks) to write this answer. From the fact that Dmitry did not answer >>> any more one can usually see that he got the point. At least that's my >>> observation. >> >> No, I still haven't got it. But because we don't have a workable >> definition of hard link, it just makes no sense to me to discuss it. And >> even if we had, it were totally irrelevant to the issue of >> Ada.Directories. > > Sure we have. Each file is linked at least once and deleted if not. > > I thought the discussion if about when a user is allowed to link / unlink > what kind of file. You may not be allowed to remove a link, but that is irrelevant. Access rights is not a property of link. They are of "owned object." The question is whether a proper link can be semantically removed. It can. (I hope that you can erase your street address from the address book even if the latter lies at your home, as well as that houses without address books hidden in do not collapse... (:-)) If you want the reason why "." cannot be semantically removed, then it is because the structure of links is broken (self-recursive). Therefore it requires special handling, like synchronous deletion/insertion of cycles. I wonder why this need to be so hotly discussed in c.l.a? Let it be the most linked link of the world, if that helped us to return back to Ada discussions... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de