<p dir="ltr">Nice work Chris!</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 27, 2016 7:13 PM, "Chris Fowler" <<a href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" 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"><div><br></div><div><br></div><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"><b>From: </b>"Jim Kinney" <<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>><br><b>To: </b>"Atlanta Linux Enthusiasts" <<a href="mailto:ale@ale.org" target="_blank">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"><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">Hmm. Cool hack. I thought cp -a was OK with full path links.<br></blockquote><div><br></div><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><div><br></div><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><div><br></div><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><div><br></div><div><br></div></div></div></div><br>______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
<br></blockquote></div></div>