BusyBox built-in shell (ash)

Michael Conrad mconrad at intellitree.com
Wed Dec 13 00:01:48 UTC 2017


On 12/12/2017 6:28 PM, A.W.C. wrote:
> yes, I know that Squashfs is read-only filesystem. Tried again, not 
> sure what need be changed here for this specific configuration and 
> filesystems available.

> # mknod -m 666 /dev/null c 1 3
> mknod: /dev/null: Read-only file system

You say you understand it is read only, but this error message is 
exactly the problem you are having.  You cannot change things in a 
directory which is on a read-only filesystem.

It appears you do not have the devtmpfs built into your kernel (the one 
which comes pre-populated with lots of helpful device nodes), so you 
will need to use something else, like tmpfs (which comes completely 
empty, but writable).

Maybe try

mount -t tmpfs none /dev
mknod -m 666 /dev/null c 1 3
# and all the rest of your device nodes


-Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20171212/388f907c/attachment.html>


More information about the busybox mailing list