[OLPC-devel] Re: booting up from usb

Ronald G Minnich rminnich at lanl.gov
Thu Jul 6 19:43:00 EDT 2006


Jordan Crouse wrote:
> On 06/07/06 16:52 -0600, Ronald G Minnich wrote:
> 
>>-	@ ( size=`du -b $@ | cut -f1`; \
>>-	  delta=`expr 884736 - $$size`; \
>>-	  if [ $$delta -lt 0 ]; then echo "ERROR! ERROR! ERROR!"; \
>>-	  echo "The ELF image $@ is too big!"; fi; \
>>-	  echo "Bytes left in ROM: $$delta")
> 
> 
> You don't like my cute little error message? :)

:-)

seriously, it's an excellent error message, but on a 64MB USB stick, 
well, it's not needed :-)

thanks

ron



More information about the Devel mailing list