0

Suppose I mount a file system (wrapfs) at path /mnt/xyz ---> wrapfs and my root file system is mounted at "/" and is ext3

So if I do open on a file with path "/mnt/xyz/file1" how does the mount point change be detected by VFS.

Haswell
  • 1,573
  • 1
  • 18
  • 45
  • read http://git.fsl.cs.sunysb.edu/?p=wrapfs-latest.git;a=blob;f=Documentation/filesystems/wrapfs.txt , or look at the source: http://download.filesystems.org/wrapfs/patches/ – Ipor Sircer Dec 01 '16 at 09:01
  • You want to track filesystem change from user-space, right? If so, look at [inotify](https://en.wikipedia.org/wiki/Inotify) mechanism. – Sam Protsenko Dec 01 '16 at 21:32
  • There is no _mount point change_ at the time of _open_; the change happened at the time of _mount_. – Armali Feb 23 '18 at 08:35

0 Answers0