properly label PCFS mount type #431
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
now that we've got an open-source way of booting a cat-dev using PCFS without the official SDK (https://codeberg.org/rem-verse/sprig, this also contains the source code i used to generate the image below at: https://codeberg.org/rem-verse/sprig/src/commit/760514b5e762de0edbf466a0d3f3ce06ee7a5513/console/apps/hfiod), we can confirm that this second mount source is indeed PCFS. Testing this code on a real cat-dev, allows me to list files on the attached host system.
I chose to label this "PCFS" even though based on the mount name says "HFIO" (I assume for "host file i/o"), while these deviates from the mount name, PCFS is much more clear as PCFS is not the only way a cat-dev can do i/o with an attached 'host' system (none of the others are supported by this mount type), not to mention PCFS has certain limitations (e.g. can only do 'simple' filesystem permissions, supports the max length of PCFS, etc.).