Skip to content
Snippets Groups Projects
  1. Mar 18, 2022
    • Aditya Gupta's avatar
      Some custom readability changes · 415e501f
      Aditya Gupta authored
      BREAKING CHANGE: Usages of `redoxfs` binary should be replaced with `redoxfs-mount`
      
      1. Renamed `redoxfs` binary to `redoxfs-mount`, for a consistent name convention as others
      2. Some Comments
      Verified
      415e501f
    • Aditya Gupta's avatar
      Remove unnecessary use of fork and pipes · bbdaba45
      Aditya Gupta authored
      Previously, we created a pipe, and then forked, then in one process we block on a read, while in other process, AFTER it completes, it does a write on the write end of the pipe, and hence it + the process blocking on read end of the pipe will both exit.
      
      So, the pipes and fork can be removed because,
      1. One process was needlessly blocking, it was doing no work, and finally waited for the other to end
      2. The other process is doing everything non-concurrently (synchronously), so there should be no need for multi-threaded & synchronisation using the pipes
      
      Other minor changes:
      
      1. Changed name of `daemon` function to `mount_disk`
      
      2. Added some comments to `mount_disk`
      
      Notes:
      1. Still following the process::exit pattern, though I think that's not needed now, can just return a Result from main() itself, instead of explicitly using process::exit(0) and  process::exit(1)
      2. Removes two usages of `unsafe`
      Unverified
      bbdaba45
  2. Mar 11, 2022
  3. Feb 11, 2022
  4. Feb 06, 2022
  5. Dec 27, 2021
  6. Jun 17, 2021
  7. Apr 29, 2021
  8. Jan 19, 2021
  9. Dec 16, 2020
  10. Aug 02, 2020
  11. May 25, 2020
  12. Mar 14, 2020
  13. Jan 20, 2020
  14. Oct 29, 2019
  15. Sep 09, 2019
  16. Aug 11, 2019
  17. Jul 24, 2019
  18. Jul 21, 2019
  19. Jul 20, 2019
  20. Jul 19, 2019
  21. Jul 06, 2019
  22. Jul 04, 2019
  23. May 11, 2019
Loading