beryllium-org / OS

Beryllium OS, a unix-like operating system for CircuitPython powered microcontrollers. (Formerly known as ljinux)
GNU General Public License v3.0
227 stars 14 forks source link

File system seems to be locked #52

Closed RetiredWizard closed 1 year ago

RetiredWizard commented 1 year ago

I don't know if it has something to do with my build on an esp32-s2 but when I try to create a file with say cp Manual.txt x.x the following error is displayed:

 Traceback (most recent call last):
         OSError:
bill88t commented 1 year ago

Is the board in development mode?

RetiredWizard commented 1 year ago

Not intentionally, I really haven't played with much other than getting the install script working. All I do is run the install, power cycle the board and connect to the ljinux console at which point I don't seem to be able to write to the file system.

Is there a command that would display that development mode status?

bill88t commented 1 year ago

Fixed with 3b93e706652de9abd04fd04a4bbd149741ace0db. The cp command was broken, that's all. Sorry for the delay.

Ljinux devmode enables usb file access, that's all. If you can't see the board from your file manager it's disabled. To enable it just run devmode from within ljinux. The issue is, that as long as it's active, ljinux can't write to the filesystem. So commands like cp, nano, mkdir won't work.