Re: [leaf-devel] possible bug in linuxrc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Titl wrote: | Hi | | There is a possible bug in linuxrc (at least with the busybox of Bering) | when trying to create and mount the /tmp filesystem. | | Here is the output from /linuxrc.err | | mount -t tmpfs tmpfs /tmp -o size=20M | mount: Mounting tmpfs on /tmp failed: Invalid argument | mount -t tmpfs tmpfs /tmp -o size=20M | | I extended linuxrc a little to get the debug info. It appears as if the | tmpfs mount does not like the parameter substitution used for tmp_size | | here is the relevant code | | [ $VERBOSE ] Lecho Generating /tmp /var/log partitions ... | echo mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} | /linuxrc.err | qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} | echo mount -t tmpfs tmpfs /tmp -o size=$tmp_size /linuxrc.err | qt mount -t tmpfs tmpfs /tmp -o size=$tmp_size | | as you can see, the second mount appears to work, this is with tmp_size | set to 20M in leaf.cfg I suspect the entire -o size=20M is being passed to mount as a single argument, causing the problem. Options include splitting the substitution or using eval, ie: qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-o} ${tmp_size:+size=$tmp_size} - -or- eval qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} - -or- eval qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} - -- Charles Steinkuehler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCOChsLywbqEHdNFwRAviPAJ9hnQ8SJw5BMRoZLavt/MuRJe/CHwCfcIC0 2z4Q70QGJ5hk+EAYwt5f39E= =iZQ0 -END PGP SIGNATURE- --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] possible bug in linuxrc
Charles Steinkuehler [EMAIL PROTECTED] writes: Erich Titl wrote: | There is a possible bug in linuxrc (at least with the busybox of Bering) | when trying to create and mount the /tmp filesystem. | | Here is the output from /linuxrc.err | | mount -t tmpfs tmpfs /tmp -o size=20M | mount: Mounting tmpfs on /tmp failed: Invalid argument | mount -t tmpfs tmpfs /tmp -o size=20M | | I extended linuxrc a little to get the debug info. It appears as if the | tmpfs mount does not like the parameter substitution used for tmp_size | | here is the relevant code | | [ $VERBOSE ] Lecho Generating /tmp /var/log partitions ... | echo mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} | /linuxrc.err | qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-o size=$tmp_size} | echo mount -t tmpfs tmpfs /tmp -o size=$tmp_size /linuxrc.err | qt mount -t tmpfs tmpfs /tmp -o size=$tmp_size | | as you can see, the second mount appears to work, this is with tmp_size | set to 20M in leaf.cfg I suspect the entire -o size=20M is being passed to mount as a single argument, causing the problem. I think it only would be a single argument if there were quotes around the ${:+} substitution: [EMAIL PROTECTED]:\w# unset tmp_size; for arg in ${tmp_size:+-o size=$tmp_size} foo ${tmp_size:+-o size=$tmp_size}; do echo [$arg]; done [foo] [] [EMAIL PROTECTED]:\w# tmp_size=20M; for arg in ${tmp_size:+-o size=$tmp_size} foo ${tmp_size:+-o size=$tmp_size}; do echo [$arg]; done [-o] [size=20M] [foo] [-o size=20M] [EMAIL PROTECTED]:\w# (run on my BU box running the standard /bin/sh shell) However, I'd try leaving out the space after the -o, i.e. I'd run it as mount -t tmpfs tmpfs /tmp ${tmp_size:+-osize=$tmp_size} Gru, Uli pgpdYNSF5qEi3.pgp Description: PGP signature
Re: [leaf-devel] possible bug in linuxrc
Ulli good catch qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-osize=$tmp_size} works fine here Charles may I suggest an update cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] possible bug in linuxrc
Erich, In Bering-uClibc it is fixed some time ago like this: qt mount -t tmpfs tmpfs /tmp -o defaults${tmp_size:+,size=$tmp_size} Eric Ulli good catch qt mount -t tmpfs tmpfs /tmp ${tmp_size:+-osize=$tmp_size} works fine here Charles may I suggest an update cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id 396opÀick ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] possible bug in linuxrc
Hi Erich, Of I'm not mistaken Charles suggested this change some time ago on this list ;-) But I can't find the mail right now. Eric In Bering-uClibc it is fixed some time ago like this: qt mount -t tmpfs tmpfs /tmp -o defaults${tmp_size:+,size=$tmp_size} great, was this fed back? I got my version from Charles some time ago. Thanks Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id 396opÀick ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] rsync.leaf-project.org::leaf-cvs
On Tue, 2005-03-15 at 12:27, Mike Noyes wrote: On Tue, 2005-03-15 at 11:42, Charles Steinkuehler wrote: MIKE: I've manually updated the CVS archive on the CoLo system (rsync.steinkuehler.net), and basic should update soon. It looks to me like everything's OK, but you might want to check. Note that it might be until sometime tomorrow before basic has a fully updated archive (I think there will be a *LOT* of stuff to rsync, and I don't off-hand recall when the sync occurs, except I think it's late-night/early-AM). Thanks. I'll rsync tomorrow. It'll probably take me a while. Sorry I didn't notice this problem earlier. :-( Charles, My rsync is still going. :-( Did you verify the expanded tarball was correctly placed on the rsync leaf-cvs module? -- Mike Noyes mhnoyes at users.sourceforge.net http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] rsync.leaf-project.org::leaf-cvs
Hi! talking about this problem i noticed that downloading large files (e.g. mysql) via viewcvs (as used by buildtool), do recently fail, too... --arne Thanks. I'll rsync tomorrow. It'll probably take me a while. Sorry I didn't notice this problem earlier. :-( Charles, My rsync is still going. :-( Did you verify the expanded tarball was correctly placed on the rsync leaf-cvs module? -- Arne Bernin [EMAIL PROTECTED] --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] possible bug in linuxrc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Spakman wrote: | Hi Erich, | | Of I'm not mistaken Charles suggested this change some time ago on | this list ;-) But I can't find the mail right now. | | Eric | | In Bering-uClibc it is fixed some time ago like this: | qt mount -t tmpfs tmpfs /tmp -o defaults${tmp_size:+,size=$tmp_size} | | great, was this fed back? I got my version from Charles some time ago. The Bering-uClibc guys are currently much better at doing updates than I am. :) My Bering-CD image is currently working OK for in-house use, and isn't really getting updated, although I do try to comment on (and post potential fixes for) any bugs in the scripts I've written. - -- Charles Steinkuehler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCOK/5LywbqEHdNFwRArv+AKCf6KPyu6I3Lk1ZvIMa1LTifjlUvACggV4s mmX//nyWC4/Mun+2PcceKII= =RjDS -END PGP SIGNATURE- --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] rsync.leaf-project.org::leaf-cvs
On Wed, 2005-03-16 at 14:05, Arne Bernin wrote: talking about this problem i noticed that downloading large files (e.g. mysql) via viewcvs (as used by buildtool), do recently fail, too... Arne, This may be a type of a connection timeout implemented by SF. Does it happen when using pserver, or only when using viewcvs? Is there any way to have buildtool continue/retry after a 60 second timeout? -- Mike Noyes mhnoyes at users.sourceforge.net http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel