1. 26 Jan, 2015 5 commits
  2. 25 Jan, 2015 1 commit
  3. 23 Jan, 2015 3 commits
  4. 22 Jan, 2015 14 commits
  5. 21 Jan, 2015 2 commits
  6. 20 Jan, 2015 6 commits
  7. 18 Jan, 2015 5 commits
  8. 17 Jan, 2015 3 commits
  9. 16 Jan, 2015 1 commit
    • Mike Hibler's avatar
      The Joy of Sed. · a861dd6c
      Mike Hibler authored
      We were parsing the disk number out with:
      
        dunit=`echo $disk | sed -e 's/..\([0-7]\)/\1/'`
      
      which works fine with "ad0", giving a dunit of "0"
      but with "ada0" you get a dunit of "a0"
      
      And, after misinterpreting through another sed command:
      
      dunit=`echo $dunit | sed -e 'y/01234567/abcdefgh/'`
      
      we get "aa" instead of "a". Append that to "sd" and your disk
      becomes "sdaa" instead of "sda". Next thing you know I'm blaming
      Emacs for inserting an extra character in /etc/fstab!
      a861dd6c