You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Gary-Hobson (via GitHub)" <gi...@apache.org> on 2023/04/10 06:49:59 UTC
[GitHub] [nuttx] Gary-Hobson commented on a diff in pull request #8868: fs/hostfs: add sim hostfs path convert
Gary-Hobson commented on code in PR #8868:
URL: https://github.com/apache/nuttx/pull/8868#discussion_r1161482603
##########
arch/sim/Kconfig:
##########
@@ -159,6 +159,15 @@ config SIM_HOSTFS
---help---
Access host filesystem through HostFS.
+if SIM_HOSTFS
+config SIM_HOSTFS_PATH_CONVERSION
+bool "Simulated HostFS path conversion"
+default n
+---help---
+ If this option is enabled, the nuttx image folder will be used as the root path
+ when hostfs accesses the file, otherwise $CWD will be used as the root path to search
Review Comment:
Regardless of whether this configuration is enabled or not, it will not affect the absolute path.
After executing mount -t hostfs -o fs=/absolutepath /mnt, /mnt is always mapped to /absolutepath
The root path here indicates the starting point to find the file, maybe I should change the description
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org