Dean wrote:
>
> I was going through the source for vsd-genskel.pl to get an
> idea about what exactly happens behind the scenes during skel
> creation.
>
> There is one thing I am unsure of. The script does a simple
> cp -a /usr into the skel directory. Afterwards skel/usr/sbin
> is deleted and then recreated with:
>
> mkdir ("$skelroot/usr/sbin", 0755);
> foreach $file (@usr_sbin_progs) {
> `cp -a /usr/sbin/$file $skelroot/usr/sbin/$file`;
> }
>
> How does the result of this loop differ from a simple "cp -a"?
> I assume that @usr_sbin_progs contains less than all of the
> files in /usr/sbin, but I am not sure how or why?
Take a look at /usr/local/etc/vsd/freevsd.conf (or
/etc/vsd/freevsd.conf) for this array. The idea is to stop the copying
of binaries that could do some serious damage to a freeVSD system. Or
to delete ones that need to be patched especially for freeVSD.
HTH,
--
Ben Kennish
e: [EMAIL PROTECTED]
w: www.fubra.com