pastebin - collaborative debugging tool RSS

barebox: Test for valid var/stat
Posted by Anonymous on Mon 13th May 2019 14:58
raw | new post

  1. ubiattach -O 2048 /dev/nand0.var
  2. if [ $? -eq 0 ] ; then
  3.     if [ -c /dev/nand0.var.ubi.stat ] ; then echo "var.stat works"; fi
  4.     ubidetach /dev/nand0.var
  5. fi

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}

All content is user-submitted.
The administrators of this site ( are not responsible for their content.
Abuse reports should be emailed to us at