Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor discrepancies with POSIX behaviour. #10

Open
happybeing opened this issue Oct 11, 2020 · 1 comment
Open

Minor discrepancies with POSIX behaviour. #10

happybeing opened this issue Oct 11, 2020 · 1 comment

Comments

@happybeing
Copy link

This is a low priority list of things which appear out of step with POSIX style fs behaviour. For any other things like this I'll just add to this issue.

  • already mentioned on the forum, sn_fs reports directory sizes as '0' whereas they appear to be at least the minimum block size (e.g. 4096) on Ubuntu.
  • ls -al of a directory should include entries for '.' and '..' as below, whereas for sn_fs these are missing.

PS I've attached a script which I used to test my now defunct SAFE Drive, tweaked slightly to test sn_fs and it passes all tests on Ubuntu 20.04. 🎉

You'll have to rename the .txt to .sh to use it of course. test-sn_fs.sh.txt

It expects to be run from the root of a git repo with the script in a tests subdirectory, for example:

cd ~/sn_fs
mkdir -p ~/SAFE
sn_fs ~/SAFE &
./tests/test-sn_fs.sh mock|disk

I'll also try some of the manual tests which gave SAFE Drive problems.

@dan-da
Copy link
Contributor

dan-da commented Oct 12, 2020

thx for filing the issue and for the test script! I'll try it out later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants