Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2009 11:52:34 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r195458 - in head: include lib/libc/sys sys/bsm sys/compat/freebsd32 sys/compat/svr4 sys/i386/ibcs2 sys/kern sys/sys
Message-ID:  <20090717095234.GA48647@stack.nl>
In-Reply-To: <4A5CAC1B.4070006@freebsd.org>
References:  <200907081523.n68FNIpi055036@svn.freebsd.org> <20090709173046.GA48155@stack.nl> <4A5CAC1B.4070006@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 14, 2009 at 09:02:35AM -0700, Tim Kientzle wrote:
> Another data point:  I've started looking at the *at()
> functions for libarchive's deep directory handling.  The
> current code uses chdir() to manipulate files with very long
> pathnames, but that causes complications for libarchive
> clients that I'd like to eliminate.  Using *at() functions
> to manage a "virtual current directory" looks a lot more robust.

> Unfortunately, there are still a few operations that are
> unavailable with this paradigm:
>   * ACL functions
>   * extattr functions

Right. As with pathconf(), "at" variants with AT_SYMLINK_NOFOLLOW option
would be useful here.

>   * link()
>   * symlink()

linkat() and symlinkat() exist.

In addition to providing the "at" functionality, linkat() allows
creating hard links to symlinks.

-- 
Jilles Tjoelker



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