comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Ada.Directories
Date: Fri, 16 Nov 2007 17:48:55 +0100
Date: 2007-11-16T17:48:55+01:00	[thread overview]
Message-ID: <1589560.JmWJu6PyXJ@linux1.krischik.com> (raw)
In-Reply-To: 28cjl7did6nn.2ikjpx3qf1mw$.dlg@40tude.net

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" <mail...@dmitry-kazakov.de>
>>> 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



  reply	other threads:[~2007-11-16 16:48 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20  9:21 Ada.Directories Dmitry A. Kazakov
2007-10-20 18:43 ` Ada.Directories anon
2007-10-20 19:40   ` Ada.Directories Dmitry A. Kazakov
2007-10-20 20:35     ` Ada.Directories Maciej Sobczak
2007-10-21  7:40       ` Ada.Directories Dmitry A. Kazakov
2007-10-21 13:05         ` Ada.Directories Jacob Sparre Andersen
2007-10-21 13:26           ` Ada.Directories Dmitry A. Kazakov
2007-10-21 15:29             ` Ada.Directories Markus E L
2007-10-21 15:38             ` Ada.Directories Jacob Sparre Andersen
2007-10-21 17:19             ` Ada.Directories Martin Krischik
2007-10-21 18:52               ` Ada.Directories Dmitry A. Kazakov
2007-10-21 20:32                 ` Ada.Directories Markus E L
2007-10-21 23:52         ` Ada.Directories Robert A Duff
2007-10-22 11:08         ` Ada.Directories Harald Korneliussen
2007-11-15 11:44           ` Ada.Directories Markus E L
2007-11-16 13:27             ` Ada.Directories Dmitry A. Kazakov
2007-11-16 16:48               ` Martin Krischik [this message]
2007-11-16 18:47                 ` Ada.Directories Larry Kilgallen
2007-11-16 20:35                   ` Ada.Directories Martin Krischik
2007-11-16 19:00                 ` Ada.Directories Dmitry A. Kazakov
2007-10-21  1:25     ` Ada.Directories anon
2007-10-20 22:36   ` Ada.Directories Larry Kilgallen
2007-10-22 18:56 ` Ada.Directories Adam Beneschan
2007-10-23  9:04   ` Ada.Directories Peter Hermann
2007-10-23 12:07     ` Ada.Directories Larry Kilgallen
2007-10-23 13:01       ` Ada.Directories Peter Hermann
2007-10-23 16:08       ` Ada.Directories Robert A Duff
2007-10-23 17:11         ` Ada.Directories Larry Kilgallen
2007-10-24  0:55   ` Ada.Directories Brian May
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox