[lfs-support] /tools directory
Greetings. Working my way through my first build of LFS 7.4. I'm wondering, after building and installing all of the packages in Chapter 6, can the /tools directory be deleted? I see that find and strip are used in Section 6.65, but we have new copies of those in /bin and /usr/bin. Also, regarding backing up prior to stripping, is it ok to exclude all of dev, proc, and sys from the backup. I'm thinking something like: tar --exclude=dev --exclude=proc --exclude=sys --exclude=sources \ -cjvPf lfs-7.4.tar.bz2 /mnt/lfs Is that reasonable? Thanks, Joel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] /tools directory
But why do you still use /tools/bin/ for bash, file, & strip on page 202? From: Bruce Dubbs To: joel kammet ; LFS Support List Sent: Monday, February 17, 2014 7:09 PM Subject: Re: [lfs-support] /tools directory joel kammet wrote: > Greetings. > > Working my way through my first build of LFS 7.4. I'm wondering, > after building and installing all of the packages in Chapter 6, can > the /tools directory be deleted? I see that find and strip are used > in Section 6.65, but we have new copies of those in /bin and > /usr/bin. Yes. See Section 6.66. Cleaning Up. > Also, regarding backing up prior to stripping, is it ok to exclude > all of dev, proc, and sys from the backup. I'm thinking something > like: tar --exclude=dev --exclude=proc --exclude=sys > --exclude=sources \ -cjvPf lfs-7.4.tar.bz2 /mnt/lfs > > Is that reasonable? Yes. You don't want to back up any virtual filesystems. Exclude /run, /proc, /sys, and /dev. Excluding sources is optional. You can always recover those. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Fw: Re: /tools directory
--- On Mon, 2/17/14, Bruce Dubbs wrote: > From: Bruce Dubbs > Subject: Re: [lfs-support] /tools directory > To: "joel kammet" , "LFS Support List" > > Date: Monday, February 17, 2014, 10:34 PM > joel kammet wrote: > > But why do you still use /tools/bin/ for > bash, file, & strip on page 202? > > Please don't top post. > > What is on page 202? We work from section > numbers/names, not the pdf. > The page > numbers can change, sometimes radically during a nightly > build. > > -- Bruce > > Sorry. Section 6.65, Stripping Again uses /tools/bin/bash when re-entering the chroot environment and then /tools/bin/find and /tools/bin/strip. I don't suppose it matters, but I was just wondering if there was any particular reason that you don't use the bash, find and strip that have been installed in the new permanent directories. - Joel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Fw: Re: Fw: Re: /tools directory
--- On Mon, 2/17/14, Bruce Dubbs wrote: > > That's so > we don't operate (strip) on a running program. After > that's > done, look at 6.66. Cleaning > Up. At that point we are done with /tools. > I see - finally :) Thanks again. -Joel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] init script question
I've been wondering about the case statement in S00mountvirtfs that mounts the virtual filesystems. if ! mountpoint /run >/dev/null; then mount /run || failed=1 and similar commands for proc sys and dev. I understand what the mountpoint lines are doing, but "mount /run" puzzles me. There are no fstab entries for these filesystems, so I would expect "mount [device] [mountpoint]". Why does that command work without the [device] parameter? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] init script question
>> I understand what the mountpoint lines are doing, but "mount /run" puzzles >> me. >> >> >> There are no fstab entries for these filesystems, so I would expect "mount >> [device] >> [mountpoint]". >> > There are. > http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.html > "tmpfs /run tmpfs defaults 0 0" Thanks. Should've occurred to me to read ahead. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page