On 8/10/07, Ethan Quach <Ethan.Quach at sun.com> wrote:
> So are we talking about /var/sadm on the running system getting lost or the
> /var/sadm in your wanboot miniroot image mounted at /mnt ? If the latter,
> then there might be an explanation (or at least a known issue that explains
> it). In the miniroot image, ./var is symlinked to ./tmp/root/var and
> there is a
> known issue in the pkg tools where if the pkg delivers something into
> ./var, it
> breaks that symlink.
Taking a look at a broken wanboot image (not sure if this is the same
one or not)
# find var
var
var/svc
var/svc/manifest
var/svc/manifest/system
var/sadm
var/sadm/pkg
# find tmp/root/var | wc -l
3346
# cat tmp/root/var/sadm/patch/.patchaddLock
3643
Note that the var symlink was broken and I was left with a small
skeleton directory there. The likely culprit was patchadd, not pkgrm.
Mike
--
Mike Gerdts
http://mgerdts.blogspot.com/