Author Topic: make_bootable.sh "failing"  (Read 173 times)

bulwynkl

  • Just arrived
  • *
  • Posts: 1
make_bootable.sh "failing"
« on: December 30, 2017, 02:39:45 AM »
Hey Folks,

I am preping a bunch of cards for my 550D.  I noticed the make_bootable.sh script fails to recognise some cards where the volume name is not EOS_DIGITAL, but is instead EOS_DEVELOP.

sure, it's a trivial matter to adjust the script to catch the appropriate card names but i'm wondering if there is something I'm missing - why are some cards DIGITAL and some DEVELOP? does it matter? is it a consequence of the "upgrade" method to prep the cards via the camera? should the script be upgraded to reflect this? Why do people still think digital watches are a pretty neat idea?


lazy change...

line 22:
  dev=$(mount | grep EOS_DIGITAL | awk '{print $1}' )
change to:
  dev=$(mount | grep EOS_D | awk '{print $1}' )

"safer" version - match either...

  dev=$(mount | grep 'EOS_DIGITAL\|EOS_DEVELOP' | awk '{print $1}' )