RT-GasFlowMeter/rt-thread/components/dfs/dfs_v2/filesystems/ptyfs
2025-07-23 16:43:26 +08:00
..
ptyfs.c 新建RT项目,添加LED控制 2025-07-23 16:43:26 +08:00
ptyfs.h 新建RT项目,添加LED控制 2025-07-23 16:43:26 +08:00
README.md 新建RT项目,添加LED控制 2025-07-23 16:43:26 +08:00
SConscript 新建RT项目,添加LED控制 2025-07-23 16:43:26 +08:00

The Pseudo Terminal Filesystem

The device register on ptyfs is also registered in device frameworks with rt_device_register().

It's possible to mount a new ptyfs instance on another path. Each instance is isolated to each other. And they don't share the id system. But generally speaking, you have to mount the ptyfs on /dev root, since all the file nodes in ptyfs are devices.