Skip to content

oysteintveit-nordicsemi/cuse-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUSE in devcontainer

This is a test to see if it is possible to set up a character device in userspace, within a devcontainer running in GitHub Codespaces

The example is taken from libfuse:

Getting started

  1. Create a new codespace
  2. Open the terminal (Ctrl/Cmd + J)
  3. Run make
  4. Run ./main -d -n test

A new character device should now appear as /dev/test. This just works as a buffer that you can read and write from, as if it was a file.

  1. Run echo "hello world" > /dev/test
  2. Run cat /dev/test

This should output hello world to stdout

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published