Skip to content

ramfs and /dev/ #1303

Open
Open
@m-mueller678

Description

@m-mueller678

when using ramfs and the cli image with a custom command line, /dev/ is empty:

./scripts/build modules=cli fs=ramfs -j$(nproc) && ./scripts/run.py -e cli
/# ls /dev

When either omitting -e cli or changing to fs=rofs , /dev/ is populated:

/# ls /dev
console null    random  urandom vblk0   vblk0.1
/# 

I stumbled upon this with a custom binary (not cli) where the lack of /dev/random was causing problems

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions