Open zvikfir opened 3 years ago
The rm
command is using unsupported syscalls, which is why it isn't doing anything. You may want to write a custom script that searches the desired directory (see libfs/tests/statdir_test.c
) and then calls unlink
.
The mkfs.sh
script should wipe all filesystem data and metadata. If it isn't working as expected, I'd double-check that your binaries are up-to-date by cleaning and re-compiling LibFS.
Hi,
I have come across an issue where files can't be deleted from the /mlfs directory.
Here is an example of performing
ls
, followed byrm
, and thenls
again.In addition, there seems to be files which are not deleted even after re-allocating the NVRAM between app-direct and memory-mode, re-creating the namespace, and after re-performing mkfs. For instance, performing
rm -rf /mlfs/*
gives an error that some of these files can't be deleted even though they shouldn't exist anymore.Is there any way to clean the cache of Assise?
Thanks, Kfir