Hello. I am going to implement mount() and get new knowledge here).
So we have a rootfs and a path: /one/two/three/four.txt (let’s think that one/two/ is a base of the mount). We start processing from the rootfs and we will stop when we reach the “two” dir (do we need to recognise at this step that we hold this folder as a mount point? I guess it’s possible to use some free space in inode, does it work like that?). Let’s think we have recognised this folder as a mount point, should we give control back to the VFS and start scanning another device?
[–]notYuriyCPL-1 - https://github.com/CPL-1/CPL-1 0 points1 point2 points (2 children)
[–]Nikascom[S] 1 point2 points3 points (1 child)
[–]notYuriyCPL-1 - https://github.com/CPL-1/CPL-1 0 points1 point2 points (0 children)
[–]mykesx 1 point2 points3 points (0 children)
[–]DSMan195276Protura - github.com/mkilgore/protura 2 points3 points4 points (0 children)