'opaque' flag?

Tim Kientzle kientzle at freebsd.org
Mon Apr 9 15:38:23 UTC 2007


Tim Kientzle wrote:
> Does anyone understand the semantics of the 'opaque' flag?
> 
> I'm trying to understand an issue with packages built
> on union file systems.  It appears the 'opaque' flag
> is set on some symlinks, which the package tools then
> archive.  The archived flag is somehow interfering with
> later installation of the package.
> 
> I've read McKusick's paper on unionfs which explains
> the opaque flag for directories created on a unionfs,
> but I have a bunch of questions:
>   * Why is it appearing on symlinks?
>   * How could the opaque flag interfere with package installs?
>   * Should bsdtar ignore opaque flags?

Okay, I now understand the answer to the second question:
there's a bug in libarchive restoring symlinks with flags.
I'll fix that shortly.

The other two questions still puzzle me.

Tim


More information about the freebsd-hackers mailing list