[rtems-libbsd commit] devfs: Add some notes on implementation.
Sebastian Huber
sebh at rtems.org
Tue Aug 16 07:18:39 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: 69355c3ce3931a7ae6bf9e6cc2e13442190246d8
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=69355c3ce3931a7ae6bf9e6cc2e13442190246d8
Author: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
Date: Tue Aug 16 08:52:07 2016 +0200
devfs: Add some notes on implementation.
---
libbsd.txt | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libbsd.txt b/libbsd.txt
index 6b0e7ea..f4b0746 100644
--- a/libbsd.txt
+++ b/libbsd.txt
@@ -1046,7 +1046,15 @@ TBD.
=== devfs (Device file system) ===
-Dummy, IMFS or new implementation (currently dummy).
+There is a minimal implementation based on IMFS. The mount point is fixed to
+"/dev". Note that the devfs is only used by the cdev subsystem. cdev has been
+adapted so that the full path (including the leading "/dev") is given to devfs.
+This saves some copy operations.
+
+devfs_create() first creates the full path and then creates an IMFS generic node
+for the device.
+
+TBD: remove empty paths on devfs_destroy().
=== psignal (Signals) ===
More information about the vc
mailing list