Advertisement
ffilz

btrfs directory cookie experiment

Sep 5th, 2018
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. In the following Pass 0 is the pass through the program
  2. which will create 10 files in /export/btrfs/ with 0 deletes
  3. Next number if file index, then directory cookie for the entry then the filename
  4.  
  5. [root@localhost src]# ../../dir /export/btrfs/ 10 0
  6. Pass 0 -2 0000000000000001 .
  7. Pass 0 -2 0000000000000002 ..
  8. Pass 0 0 0000000000000003 000000006b8b4567
  9. Pass 0 1 0000000000000004 00000000327b23c6
  10. Pass 0 2 0000000000000005 00000000643c9869
  11. Pass 0 3 0000000000000006 0000000066334873
  12. Pass 0 4 0000000000000007 0000000074b0dc51
  13. Pass 0 5 0000000000000008 0000000019495cff
  14. Pass 0 6 0000000000000009 000000002ae8944a
  15. Pass 0 7 000000000000000a 00000000625558ec
  16. Pass 0 8 000000000000000b 00000000238e1f29
  17. Pass 0 9 000000007fffffff 0000000046e87ccd
  18. [root@localhost src]# rm -f /export/btrfs/*
  19. [root@localhost src]# ../../dir /export/btrfs/ 10 0
  20. Pass 0 -2 0000000000000001 .
  21. Pass 0 -2 000000000000000c ..
  22. Pass 0 0 000000000000000d 000000006b8b4567
  23. Pass 0 1 000000000000000e 00000000327b23c6
  24. Pass 0 2 000000000000000f 00000000643c9869
  25. Pass 0 3 0000000000000010 0000000066334873
  26. Pass 0 4 0000000000000011 0000000074b0dc51
  27. Pass 0 5 0000000000000012 0000000019495cff
  28. Pass 0 6 0000000000000013 000000002ae8944a
  29. Pass 0 7 0000000000000014 00000000625558ec
  30. Pass 0 8 0000000000000015 00000000238e1f29
  31. Pass 0 9 000000007fffffff 0000000046e87ccd
  32. [root@localhost src]# rm -f /export/btrfs/*
  33. [root@localhost src]# ../../dir /export/btrfs/ 10 0
  34. Pass 0 -2 0000000000000001 .
  35. Pass 0 -2 0000000000000016 ..
  36. Pass 0 0 0000000000000017 000000006b8b4567
  37. Pass 0 1 0000000000000018 00000000327b23c6
  38. Pass 0 2 0000000000000019 00000000643c9869
  39. Pass 0 3 000000000000001a 0000000066334873
  40. Pass 0 4 000000000000001b 0000000074b0dc51
  41. Pass 0 5 000000000000001c 0000000019495cff
  42. Pass 0 6 000000000000001d 000000002ae8944a
  43. Pass 0 7 000000000000001e 00000000625558ec
  44. Pass 0 8 000000000000001f 00000000238e1f29
  45. Pass 0 9 000000007fffffff 0000000046e87ccd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement