aboutsummaryrefslogtreecommitdiff
path: root/nuttx/TODO
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 21:51:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 21:51:54 +0000
commitdb161f73bc2608dbb8ad8c022609198f7f0b3f95 (patch)
tree60b33dff14781a7f98e7c78b6f47243cace54e77 /nuttx/TODO
parent43e22b2b98bacc15438133b5823d545806c8d092 (diff)
downloadpx4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.tar.gz
px4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.tar.bz2
px4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.zip
Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/TODO')
-rw-r--r--nuttx/TODO12
1 files changed, 11 insertions, 1 deletions
diff --git a/nuttx/TODO b/nuttx/TODO
index e257cef79..92b7ab4f5 100644
--- a/nuttx/TODO
+++ b/nuttx/TODO
@@ -866,7 +866,17 @@ o File system / Generic drivers (fs/, drivers/)
Title: dup AND dup2 WILL NOT WORK ON FILES IN A MOUNTED VOLUME
Description: The current implementation of dup() and dup2() will only
work with open device drivers and sockets. It will not
- work with open files in a file system.
+ work with open files in a file system. Support for dup'ing
+ open files on a mounted volume has not been implemented yet.
+
+ There is a stubbed out, partial implemenation in fs/fs_files.c.
+ In would perform the dup2() operation by re-opening the file
+ and setting the file pointer. The logic, however, would require
+ that we remember the (relative) path to the file in the mounted
+ volume for each open file.
+
+ An option might to add a dup() method to the file system
+ mountpoint interface.
A limitation that results from this is that you cannot
redirect I/O to an from and file.