On 2/23/2024 5:57 PM, Alan C. Assis wrote:
/tmp:
  test1
  test2
  test3
nsh> rm -r .
nsh: rm: unlink failed: 1
nsh> ls
/tmp:
nsh>

It reported error "unlink failed: 1", but removed all the files.

1 = EPERM, Operation not permitted

I suspect that occurred when it tried to rm ".".   Try putting a subdirectory under /tmp.  Does vfat even support the "." hardlink?

Reply via email to