<p dir="ltr">Does anything besides the initial boot code require an explicit location? If so, shrinking won't change the relative location but will the absolute location.</p>
<p dir="ltr">I can't think of anything beyond the initial boot sector and possibly journal locations and backup partition data.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Oct 12, 2016 6:32 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>I'm making progress on the 7.10 LFS disti for my i586 device. I've ran out of space (expected) and have solved that. I still need to free up more space.</div><div><br></div><div>Recap: Almost all real files reside in /usr/pkg/XXXX. Everything else are symlinks outside that point into there.</div><div><br></div><div>I've moved many files in /usr/pkg to a sqaushfs image with XZ compression. To solve the issue of booting with missing libraries because they may be in that image before /etc/fstab gets acted upon I've addressed this in initrd.</div><div><br></div><div>Initrd looks in / for an image file. It mounts that to /mnt/ro and then executes /mnt/ro/.setup.sh. This script reads a file there and populages /usr/pkg/i586/<name> with links back to /mnt/ro/sur/pkg/i586/<name>. GNU stow was used earlier to create the symlinks so if you boot on a rescue USB and look at the / filesystem you'll see mostly broken links. Once initrd has done its job switch_root goes live and it works great.</div><div><br></div><div>Default ext4 bytes per inode is 16k. Root will have many symlinks. Inode size is 256b. I'm thinking of booting off usb, tar up and copy everything off and then reformat root for 4k bytes per inode. Will this be an issue?</div><div><br></div><div><br></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>