cmvr_head/rt-thread/components/dfs/dfs_v2/filesystems/ptyfs
2025-12-24 09:54:51 +08:00
..
ptyfs.c feat:run application from QSPI @ 0x90000000 2025-12-24 09:54:51 +08:00
ptyfs.h feat:run application from QSPI @ 0x90000000 2025-12-24 09:54:51 +08:00
README.md feat:run application from QSPI @ 0x90000000 2025-12-24 09:54:51 +08:00
SConscript feat:run application from QSPI @ 0x90000000 2025-12-24 09:54:51 +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.