From owner-freebsd-hackers Sun Jul 22 13: 3:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wellington.cnchost.com (wellington.concentric.net [207.155.252.14]) by hub.freebsd.org (Postfix) with ESMTP id F238237B401; Sun, 22 Jul 2001 13:03:25 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by wellington.cnchost.com id QAA21807; Sun, 22 Jul 2001 16:03:14 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200107222003.QAA21807@wellington.cnchost.com> To: tlambert2@mindspring.com Cc: Bruce Evans , Joshua Goodall , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: flags on symlinks In-reply-to: Your message of "Sun, 22 Jul 2001 12:47:07 PDT." <3B5B2DBB.16B607E2@mindspring.com> Date: Sun, 22 Jul 2001 13:03:14 -0700 From: Bakul Shah Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Flags are associated with inodes, and symlinks do not have > inodes in the common case, as they exist solely in the > directory entry, unless they are too long. $ mkdir foo; cd foo; date > x; ln -s x y; ls -lai total 3 261248 drwxr-xr-x 2 bakul bakul 512 Jul 22 12:58 . 261211 drwxr-xr-x 3 bakul bakul 512 Jul 22 12:58 .. 261283 -rw-r--r-- 1 bakul bakul 29 Jul 22 12:58 x 261296 lrwxr-xr-x 1 bakul bakul 1 Jul 22 12:58 y -> x $ cd ..; rm -rf foo > Pretty clearly, there should _NOT_ be a seperate system call; There needs to be. -- bakul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message