Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tar extract behaviour changed



On Thu, Oct 24, 2019 at 05:26:41 +0200, Martin Husemann wrote:

> Deal with this properly in sysinst would mean:
> 
> 1) run a script like:
>  rm -f /tmp/list
>  for s in *.${suffix}
>  do
>    for dir in $( tar tvf "$s" | egrep '^d' | awk '{ print $9}' )
>    do
>      readlink "$dir" && echo "$dir" >> /tmp/list
>    done
>  done

Isn't that info already available from mtree files?  IIRC, set.base
has all of the directories, including those that are populated by
other sets.  So you should be able to extract that and run mtree to
check it.


-uwe


Home | Main Index | Thread Index | Old Index