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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news3.google.com!out01a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!in03.usenetserver.com!news.usenetserver.com!wns14feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <1589560.JmWJu6PyXJ@linux1.krischik.com> From: Martin Krischik Subject: Re: Ada.Directories Newsgroups: comp.lang.ada Date: Fri, 16 Nov 2007 17:48:55 +0100 References: <1o4hp0vtlenw0.jql7yewhhr4a.dlg@40tude.net> <1192912525.922514.185180@q3g2000prf.googlegroups.com> <1193051315.233759.154400@v29g2000prd.googlegroups.com> <28cjl7did6nn.2ikjpx3qf1mw$.dlg@40tude.net> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.75.167.107 (84.75.167.107) NNTP-Posting-Date: Fri, 16 Nov 2007 18:30:06 +0100 X-Trace: 55863473dd39ef1ee02ce04308 Xref: g2news1.google.com comp.lang.ada:18444 Date: 2007-11-16T17:48:55+01:00 List-Id: 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. And that is simple - you are not allowed to link or unlink directories. rm is a high level command - try the low level "unlink" command and you will see that it won't unlink any directory. And on the other hand ln won't create links for directories. At least not on any unix I have come across. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com