Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2001 13:03:14 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        tlambert2@mindspring.com
Cc:        Bruce Evans <bde@zeta.org.au>, Joshua Goodall <joshua@roughtrade.net>, freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: flags on symlinks 
Message-ID:  <200107222003.QAA21807@wellington.cnchost.com>
In-Reply-To: Your message of "Sun, 22 Jul 2001 12:47:07 PDT." <3B5B2DBB.16B607E2@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107222003.QAA21807>