Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/4/12 9:21 PM, Jeremy Huntwork wrote: > If you choose not to make the changes, then it's probably better to at > least specify /bin/bash in the scripts, instead of pretending like > they're portable via /bin/sh. Ugh, I seem to have a knack for expressing myself badly - I reread this and had t

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/4/12 8:59 PM, Bruce Dubbs wrote: > rc.site uses $() in two places. I don't think that's portable. Actually, I believe that is fine. See: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03 > To be honest, I'm not sure I want to restrict the scripts to a > l

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 2/4/12 8:04 PM, Bruce Dubbs wrote: >> If you know of any issues it the current scripts, let me know. > > Off the top of my head, the use of 'echo -e' and 'echo -n' is not > handled the same in every shell. Switching those to printf "...\n" and > printf "..." respectiv

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/4/12 8:04 PM, Bruce Dubbs wrote: > If you know of any issues it the current scripts, let me know. Off the top of my head, the use of 'echo -e' and 'echo -n' is not handled the same in every shell. Switching those to printf "...\n" and printf "..." respectively is more universal. In my scri

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Bruce Dubbs
Jeremy Huntwork wrote: > Yes, the difference in complexity I was referring to was not really how > complex an LFS system could become, but rather between our typically > sparse function libraries/scripts and that of a satisfy-everyone distro. > Apparently in Ubuntu, the switch to dash as sh for

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/4/12 7:04 PM, Bruce Dubbs wrote: > In other words, whether it's bash or dash or ash, the shell program is > only read in from disk once for all the bootscripts. The only other > difference is the time it takes to actually run the scripts. For our > scripts that are generally about 5-10 state

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 2/4/12 4:41 PM, Bruce Dubbs wrote: >> Increased or decreased? How much? > > Sorry, yes, decreased. > > Hmm, but with already minimal systems like ours, apparently not enough > to really matter. I hadn't accurately measured the difference between > bash and dash on t

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/4/12 4:41 PM, Bruce Dubbs wrote: > Increased or decreased? How much? Sorry, yes, decreased. Hmm, but with already minimal systems like ours, apparently not enough to really matter. I hadn't accurately measured the difference between bash and dash on the bootscripts until you asked but I d

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 2/3/12 2:02 AM, Bruce Dubbs wrote: >> and all 18 lines of output in boot.log are done in 3 seconds. Since >> udev is started at 1.08 seconds, that's 4 seconds to the login prompt >> form the grub selection. > > Yep, I am experiencing the same with LightCube OS. About

Re: [lfs-dev] mountfs for svn

2012-02-04 Thread Jeremy Huntwork
On 2/3/12 2:02 AM, Bruce Dubbs wrote: > and all 18 lines of output in boot.log are done in 3 seconds. Since > udev is started at 1.08 seconds, that's 4 seconds to the login prompt > form the grub selection. Yep, I am experiencing the same with LightCube OS. About 4 seconds to login prompt, incl