<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Jim Kinney" <jim.kinney@gmail.com><br><b>To: </b>"Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale@ale.org><br><b>Sent: </b>Tuesday, September 27, 2016 9:24:00 PM<br><b>Subject: </b>Re: [ale] Tar with links<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><p dir="ltr">Nice work Chris!</p></blockquote><div><br></div><div>I may need to do some conversion in /etc because I don't think I could or should modify some of the programs (like shadow)</div><div><br></div><div>I'm guessing that useradd uses <span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">'cp -a'.</span></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">In my post install of profile, /etc/skel/*, etc</span></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><pre class="userinput" style="font-family: monospace; border: 1px solid #050505; padding: 0.5em 1em; margin: 0px 2em 0.5em; font-weight: bold; color: #101310; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; line-height: 19.2px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #e5e5e5;" data-mce-style="font-family: monospace; border: 1px solid #050505; padding: 0.5em 1em; margin: 0px 2em 0.5em; font-weight: bold; color: #101310; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; line-height: 19.2px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #e5e5e5;"><kbd class="command" style="font-family: monospace;" data-mce-style="font-family: monospace;">cat > ${DESTDIR}/.stow-post-install << "EOF"<br>#!/bin/sh<br>id -u lfs 2>/dev/null 1>/dev/null \<br>|| (groupadd lfs &&<br>useradd -m -c 'LFS User' \<br> -g lfs \<br> -p 'lfs' \<br> -s /bin/sh \<br> lfs)<br>EOF<br><br></kbd><br></pre></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">Stuff</span></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">When ran I see this:</span></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">root:/tools/scripts/8# ls -la /home/lfs/<br>total 20<br>drwxr-xr-x 2 lfs lfs 4096 Sep 28 14:52 .<br>drwxr-xr-x 3 root root 4096 Sep 28 14:52 ..<br>lrwxrwxrwx 1 lfs lfs 62 Sep 28 14:45 .bash_logout -> ../../usr/pkg/blfs-shellstartup-7.10.000/etc/skel/.bash_logout<br>lrwxrwxrwx 1 lfs lfs 63 Sep 28 14:45 .bash_profile -> ../../usr/pkg/blfs-shellstartup-7.10.000/etc/skel/.bash_profile<br>lrwxrwxrwx 1 lfs lfs 57 Sep 28 14:45 .bashrc -> ../../usr/pkg/blfs-shellstartup-7.10.000/etc/skel/.bashrc<br>lrwxrwxrwx 1 lfs lfs 60 Sep 28 14:45 .dircolors -> ../../usr/pkg/blfs-shellstartup-7.10.000/etc/skel/.dircolors<br>root:/tools/scripts/8# <br></span></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">I'm thinking of something like this to convert the link to real. Instead of converting /home/*/.* I'll just convert /etc/skel in stow-post-install</span></div><div>http://superuser.com/questions/303559/replace-symbolic-links-with-files</div><div><br data-mce-bogus="1"></div><div><br></div><div><pre class="lang-bsh prettyprint prettyprinted" style="margin: 0px 0px 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; display: block; color: #393318; word-wrap: normal; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #eff0f1;" data-mce-style="margin: 0px 0px 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; display: block; color: #393318; word-wrap: normal; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #eff0f1;"><code style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit; background-color: #eff0f1;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit; background-color: #eff0f1;"><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">#!/bin/sh<br>set</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">e
</span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">for</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> link</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">;</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">do</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
test </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">h </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">||</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">continue</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
dir</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">$</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">(</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">dirname </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">)</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
reltarget</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">$</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">(</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">readlink </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">)</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">case</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> $reltarget </span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">in</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">/*)</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> abstarget</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">$reltarget</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">;;</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">*)</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> abstarget</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">$dir</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">/</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">$reltarget</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">;;</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">esac</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
rm </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">fv </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
cp </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">afv </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$abstarget"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">||</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">{</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="com" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #858c93;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #858c93;"># on failure, restore the symlink</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
rm </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">rfv </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
ln </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">-</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">sfv </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$reltarget"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;"> </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #7d2727;">"$link"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">}</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #303336;">
</span><span class="kwd" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;" data-mce-style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; color: #101094;">done</span></code></pre></div><div><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"></span><br></div><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="gmail_extra"><br><div class="gmail_quote">On Sep 27, 2016 7:13 PM, "Chris Fowler" <<a href="mailto:cfowler@outpostsentinel.com" target="_blank" data-mce-href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><br><br><hr><div><blockquote style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Jim Kinney" <<a href="mailto:jim.kinney@gmail.com" target="_blank" data-mce-href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>><br><b>To: </b>"Atlanta Linux Enthusiasts" <<a href="mailto:ale@ale.org" target="_blank" data-mce-href="mailto:ale@ale.org">ale@ale.org</a>><br><b>Sent: </b>Tuesday, September 27, 2016 6:25:14 PM<br><b>Subject: </b>Re: [ale] Tar with links</blockquote><blockquote style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br></blockquote></div><div><blockquote style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">Hmm. Cool hack. I thought cp -a was OK with full path links.<br></blockquote><br><div>The problem is that cp is being told to archive /lib/udev, but there are links in there that point to ../../usr/pkg........ </div><br><div>The hack is on the idea of I really want /lib/udev to be copied to another / and everything that exists outside of /lib/udev as links in /lib/udev should be considered part of what I need.</div><br><div>Where the GNU stow idea breaks is when scripts use '-f' test. Almost no file exists outside of /usr/pkg/* I've taken GNU Stow far past its intention. If you look at the script in the mkinitramfs link you will see many '-f'. I've changed some of those. The kernel module 'find ... -f' works because I told stow to not fold that package. /lib/modules/4.7.2 is a link that points into /usr/pkg/..... In simple terms 'no-folding' means that stow creates real directories when needed. The opposite is that it will stop recursion in the tree and just symlink the directory instead. So, with folding turned off /lib/modules/4.7.2 is a link. With folding turned on it is a directory.</div><br><br></div></div></div><br>_______________________________________________<br> Ale mailing list<br><a href="mailto:Ale@ale.org" target="_blank" data-mce-href="mailto:Ale@ale.org">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank" data-mce-href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br> See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank" data-mce-href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br><br></blockquote></div></div><br>_______________________________________________<br>Ale mailing list<br>Ale@ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUNCE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></blockquote></div></div></body></html>