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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8429314ce5e9d92a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-19 14:49:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!spool0900.news.uu.net!reader0900.news.uu.net!not-for-mail Date: Mon, 19 May 2003 17:49:46 -0400 From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030506 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Programming Language Survey References: <1b2f70c3.0305161120.6ca17b7e@posting.google.com> <2tNCm7hWr4Xn@eisner.encompasserve.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Message-ID: <1053380986.773810@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1053380987 reader0.ash.ops.us.uu.net 27560 204.253.250.10 Xref: archiver1.google.com comp.lang.ada:37535 Date: 2003-05-19T17:49:46-04:00 List-Id: Preben Randhol wrote: > What are softlinks? They're UNIXy things. In UNIX, the unique designator for a file is called an "inode" and represents a numeric index into a data structure containing the files of a filesystem. Directories consist of pairs of inode numbers and names. Thus, it's perfectly possible for the same inode, and thus its file, to be known by many names. These many names of a file are called hard links. (The "hard" is a back formation which came about after soft links were invented, like "analog" watches.) Because hard links represent a pointer into the filesystem, you cannot make hard links point to files in different filesystems. This became an increasing handicap as the number of filesystems on a computer grew. So soft links were invented. A soft link is simply a file which holds the name of another file, and is specially marked as being such. When someone attempts to open a named soft link, the file to which it links is opened instead. Soft links cause much more complexity than hard links. It's possible for the target of a soft link to be missing, or to create circular chains of links. They're subject to race conditions, and opening long chains of them can be slow.