title: Beaglebone Linux: issues appending a line to a file
body: <p>I am working to enable spi on my beaglebone black (Angstrom distribution), using instructions <a href="http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/" rel="nofollow">here.</a></p>
  
  <p>I am at the point where i need to add BB-SPI1-01 to <code>/sys/devices/bone_capemgr.*/slots</code> to enable the drivers.</p>
  
  <p>issuing the command <code>echo BB-SPI1-01 &gt; /sys/devices/bone_capemgr.*/slots</code> or <code>echo BB-SPI1-01 &gt;&gt; /sys/devices/bone_capemgr.*/slots</code>, however, yields the error <code>echo: Write error: file exists</code></p>
  
  <p>Trying to edit in the line with nano also fails. I'm able to open the file and edit it, but when I save it gives me <code>Error writing slots: no such file or directory</code></p>
  
  <p>I've set permissions on the file to 777.</p>
  
  <p>Does anybody know why I cannot edit the file? if it's not possible, is there a workaround?</p>