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/14 04:38:09 UTC

[GitHub] [nuttx] Gary-Hobson commented on a diff in pull request #8868: fs/hostfs: switch working directory

Gary-Hobson commented on code in PR #8868:
URL: https://github.com/apache/nuttx/pull/8868#discussion_r1166269085


##########
arch/sim/Kconfig:
##########
@@ -159,6 +159,20 @@ config SIM_HOSTFS
 	---help---
 		Access host filesystem through HostFS.
 
+if SIM_HOSTFS
+config SIM_IMAGEPATH_AS_CWD
+	bool "Simulator switch working directory"

Review Comment:
   At present I think its impact is limited to hostfs, because nuttx does not request other path-related data from host.
   
   If it needs to be changed, I haven't figured out where to put the "host_fs_init" function. If it is placed in sim_hostfs.c, it needs to rely on SIM_HOSTFS



-- 
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