Skip to content

fs: rename PSEUDOFS_SOFTLINKS to FS_LINKS - #3753

Open
Kaben123 wants to merge 2 commits into
apache:masterfrom
Kaben123:pse52-01-link-infra-apps
Open

fs: rename PSEUDOFS_SOFTLINKS to FS_LINKS#3753
Kaben123 wants to merge 2 commits into
apache:masterfrom
Kaben123:pse52-01-link-infra-apps

Conversation

@Kaben123

Copy link
Copy Markdown

Summary

Update all nuttx-apps references to the kernel filesystem-link config
option, which is renamed from PSEUDOFS_SOFTLINKS to FS_LINKS in the
companion NuttX PR. The link support is no longer limited to the pseudo
filesystem and now covers both soft (symbolic) and hard links across the
VFS, so the more accurate name FS_LINKS is used.

Affected areas: nshlib (ln/readlink/ls), interpreters (luv, wamr), adb,
tlpi example, and the testsuites — 18 references across 9 files.

Impact

  • Build-time only. No runtime/ABI/behavior change.
  • Must be merged together with the NuttX kernel-side rename; on its own
    each repository's build would break because the config symbol only
    exists under one name at a time.

Testing

  • tools/checkpatch.sh passes on all changed lines.

Depends-On: apache/nuttx#19949

The link support is no longer limited to the pseudo file system and now
covers both soft (symbolic) links and hard links across the VFS.  Update
all references to the renamed configuration option PSEUDOFS_SOFTLINKS,
which has been renamed to FS_LINKS in the NuttX kernel, so that nshlib,
the interpreters, adb, tlpi and the test suites keep building.

This must be merged together with the corresponding NuttX change that
performs the actual kernel-side rename.

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
jerpelea
jerpelea previously approved these changes Aug 25, 2026
@github-actions

Copy link
Copy Markdown

🔗 Cross-repo PR dependencies

The read-only Build run reported the following dependent PR(s) and fetched head SHA(s):

CI run: https://github.com/apache/nuttx-apps/actions/runs/32830024845

Because this PR modifies nsh_fscmds.c and wamr/Kconfig, CI runs
nxstyle and codespell over the whole files and rejects pre-existing
issues that are unrelated to the rename:

  - nsh_fscmds.c: reindent misaligned switch/case blocks in cmd_dmesg,
    cmd_losetup, cmd_losmart, cmd_lomtd, cmd_mkdir, cmd_mkfatfs and
    cmd_mkrd to the standard NuttX layout.
  - wamr/Kconfig: fix two spelling typos flagged by codespell
    ("expections" -> "exceptions", "Configuable" -> "Configurable").

Style/whitespace and spelling only; no functional change.

Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com>
@github-actions

Copy link
Copy Markdown

🔗 Cross-repo PR dependencies

The read-only Build run reported the following dependent PR(s) and fetched head SHA(s):

CI run: https://github.com/apache/nuttx-apps/actions/runs/32854445960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants