DEV Community

Discussion on: Embedded Elixir (without Nerves)

Collapse
 
exadra37 profile image
Paulo Renato • Edited

This is because most of the file system is read-only, because the gateway should not be able to get to a state where it can’t just reboot and everything is fine again.

Sounds like that the use of an almost read-only file system will also improve its security.

So only the /data dir is writable?

Collapse
 
lasseebert profile image
Lasse Skindstad Ebert • Edited

IMHO the greatest advantage of the write-only read-only filesystem on an embedded device is that a restart of the device is more likely to fix a bad state and make the device boot successfully.

Yes, on my specific device, the /data dir was already mounted as read-write.

Collapse
 
exadra37 profile image
Paulo Renato

I think you meant read-only instead write-only in your reply?

Thread Thread
 
lasseebert profile image
Lasse Skindstad Ebert

I did πŸ‘