Overwriting copy functionality in filesystem

Greg KH greg at kroah.com
Sat Mar 23 15:05:39 EDT 2019


On Sat, Mar 23, 2019 at 10:29:45PM +0530, Bharath Vedartham wrote:
> Hey everyone,
> 
> I was wondering how we can overwrite the copy functionality while
> writing our own filesystem in linux. 
> VFS does not offer any sort of API for copy. I think it calls create and
> write when we execute the copy the file/dir.
> I am interested in overwriting the way copy happens in my
> filesystem(which I am writing for fun :p). 

There is no "copy" syscall, sorry.




More information about the Kernelnewbies mailing list