On 06/19/11 10:48, Frank Batschulat wrote:
On Sun, 19 Jun 2011 19:28:56 +0200, Shawn Walker
<[email protected]> wrote:

On 06/19/11 08:46, Frank Batschulat wrote:
well, I know what is it for the UFS file system, so much to my surprise
while poking around in /var/pkg I found this:

batschul@osoldev:/var/pkg# ls -la
drwxr-xr-x 6 root root 6 May 28 20:20 lost+found

what ? this isn't a UFS file system, so whats in it?

Read pkg(1).

$IMAGE_META/lost+found Location of conflicting directories and
files moved during a package operation.

In short, unpackaged files or other unexpected content is salvaged
there during packaging operations.

The client provides a list of any unexpected items at the end of every
operations.

never remember seeing such message, anyways - and then ?

at least this bit from the man page:

<snip>
At present, pkg(1), on directory removal, will move unpackaged
contents of that directory to $IMAGE_META/lost+found.
<snip end>

probably explains the "loss" of binaries from a sys5 pkg living in
/sbin when the switch-over to /usr/sbin/ happened.

rather then transfering the binary to /usr/bin, it got moved to
/var/pkg/lost+found when the /sbin/ dir removal happened during
pkg 'update'.

Removals happen during updates too.

SVr4 packages cannot always peacefully co-exist with native IPS packages.

If you have important software that is packaged in SVr4 format, it needs to be moved to a directory not managed by the package system or converted to native IPS packages.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to