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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7033efe813128e2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-06 13:14:40 PST Path: bga.com!news.sprintlink.net!hookup!news.mathworks.com!panix!cmcl2!lab.ultra.nyu.edu!kenner From: kenner@lab.ultra.nyu.edu (Richard Kenner) Newsgroups: comp.lang.ada Subject: Re: POSIX and symbolic links ???? Date: 6 Nov 1994 21:14:40 GMT Organization: New York University Ultracomputer Research Lab Message-ID: <39jh00$b65@cmcl2.NYU.EDU> References: <39jgdi$bsq@gnat.cs.nyu.edu> NNTP-Posting-Host: lab.ultra.nyu.edu Date: 1994-11-06T21:14:40+00:00 List-Id: In article <39jgdi$bsq@gnat.cs.nyu.edu> dewar@cs.nyu.edu (Robert Dewar) writes: >In a way it is a shame if a program *can* detect a symbolic link, because >then it means that symbolic links would not be transparent, and the great >attraction of this facility is precisely the transparency. No, it's only important that the standard ways of accessing files handle symbolic links transparently. There's no problem in providing a separate mechanism that can be used to see if a file is a symbolic link. You clearly need such a thing. If you didn't how would "ls" work and display the link? There are other programs, such as tar, that have a legitimate reason to know. Also, other similar file maintenance-type programs such as "du".