I am trying to test current status of xfs file system for Haiku and using xfs shell to test it.
I created disk image containing a XFS filesystem in it.
I took help from this article Working with filesystem and disk images.
-
First I created a sparse file of 1GB size using $ dd if=/dev/zero of=fs.img count=0 bs=1 seek=5G command
-
Added XFS file system to the fs.img file using $ /sbin/mkfs.xfs fs.img
-
After that I mounted the image as described in above article and added 1000’s of directories for testing purpose.
I compiled xfs_shell and ran it, it compiled successfully but when I used ls command to list all the directories I ran into following errors
I think the problem lies in my XFS image file.
Any help on how to resolve it?